Skip to content

Commit df63414

Browse files
cybermerlinjoeferner
authored andcommitted
Update README.md
mod: README> add troubleshooting for Ubuntu installation
1 parent a6104b6 commit df63414

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ Notes:
2424
* If you are having problems finding 'jni.h'. Make sure you have the JDK installed not just the JRE. If you are using
2525
OpenJDK you want the openjdk-7-jdk package, not openjdk-7-jre. _Mavericks users see [Issue #86](https://github.com/nearinfinity/node-java/issues/86) if you run into this._
2626

27+
### Installation Ubuntu
28+
29+
- `sudo apt install make g++`
30+
- If u've error (on global installation): `EACCES user nobody does not have permission to access the dev dir /root/.cache/node-gyp/10.16.0`, then just run: `npm i -g java --unsafe-perm`
31+
2732
### Installation OSX
2833

2934
* If you run into strange runtime issues, it could be because the Oracle JDK does not advertise itself as available for JNI. See [Issue 90](https://github.com/joeferner/node-java/issues/90#issuecomment-45613235) for more details and manual workarounds. If this does occur for you, please update the issue.

0 commit comments

Comments
 (0)