From e7930128ccd40a9d348568c426f74a5e72e6d51d Mon Sep 17 00:00:00 2001 From: Joseph Spencer Date: Mon, 16 Jun 2014 17:38:21 -0700 Subject: [PATCH] Refining the message about OSX and runtime issues. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9c3dd023..7b975137 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,16 @@ $ npm install java Notes: -* On OS X, only JDK6 is supported. This is 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. * node-gyp requires python 2.x not python 3.x. See https://github.com/TooTallNate/node-gyp/issues/155 for more details. * If you see an error such as "Call to 'node findJavaHome.js' returned exit status 1" Try running `node findJavaHome.js` in the node-java directory to see the full failure message. * If you are having problems finding 'jni.h'. Make sure you have the JDK installed not just the JRE. If you are using 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._ +### Installatin OSX + +* 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. + ### Installation Windows For 64 bit installs with 32 bit node: