Skip to content

Commit 5263759

Browse files
committed
Update usage doc.
1 parent d054f4f commit 5263759

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,17 @@ Notes:
2626

2727
### Installation OSX
2828

29-
* 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.
29+
PREREQUISITES:
30+
31+
* OSX JDK needs JNI feature enabled.
32+
Run (https://gist.github.com/pudquick/349f063c242239952a2e#file-modify_java-py) to guarantee all JDKs have JNI enabled.
33+
34+
* Add a symlink to your JDK.
35+
cd /Library/Application Support/ExportData/
36+
sudo ln -s /Library/Java/JavaVirtualMachines/<JDK-VERSION>/Contents/Home javaLocation
37+
38+
where JDK-VERSION is the version of the JDK you wish to use.
39+
3040

3141
### Installation Windows
3242

0 commit comments

Comments
 (0)