You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-25Lines changed: 5 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,49 +4,29 @@ Bridge API to connect with existing Java APIs.
4
4
5
5
[Google Groups Discussion Forum](https://groups.google.com/forum/#!forum/node-java)
6
6
7
-
## Installation Linux
7
+
## Installation
8
8
9
9
```bash
10
-
$ export JAVA_HOME=/usr/local/share/jdk1.6.0_30
11
10
$ npm install java
12
11
```
13
12
14
13
Notes:
14
+
15
15
* node-gyp requires python 2.x not python 3.x. See https://github.com/TooTallNate/node-gyp/issues/155 for more details.
16
-
* If you see an error such as "No rule to make target '/opt/jdk1.7.0_09/jre/lib/amd64/server/libjvm.so', needed by 'build/depsVerified'. Stop."
17
-
this means that your JAVA_HOME is not set correctly and you need to verify the location of libjvm.so or jvm.lib.
18
16
* If you see an error such as "Call to 'node findJavaHome.js' returned exit status 1"
19
17
Try running `node findJavaHome.js` in the node-java directory to see the full failure message.
20
18
* If you are having problems finding 'jni.h'. Make sure you have the JDK installed not just the JRE. If you are using
21
-
OpenJDK you want the openjdk-7-jdk package, not openjdk-7-jre.
22
-
23
-
## Installation Windows
19
+
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._
24
20
25
-
```bash
26
-
$ set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_18\
27
-
$ npm install java
28
-
```
21
+
### Installation Windows
29
22
30
23
Notes:
31
-
* node-gyp requires python 2.x not python 3.x. See https://github.com/TooTallNate/node-gyp/issues/155 for more details.
32
24
* For 64 bit installs with 32 bit node
33
25
* you need the 32 bit JDK, with the 64 bit JDK you will see LNK2001
0 commit comments