Skip to content

Commit ce6bcde

Browse files
committed
Removing instructions to set JAVA_HOME from the README.
1 parent 92e988a commit ce6bcde

1 file changed

Lines changed: 5 additions & 25 deletions

File tree

README.md

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,49 +4,29 @@ Bridge API to connect with existing Java APIs.
44

55
[Google Groups Discussion Forum](https://groups.google.com/forum/#!forum/node-java)
66

7-
## Installation Linux
7+
## Installation
88

99
```bash
10-
$ export JAVA_HOME=/usr/local/share/jdk1.6.0_30
1110
$ npm install java
1211
```
1312

1413
Notes:
14+
1515
* 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.
1816
* If you see an error such as "Call to 'node findJavaHome.js' returned exit status 1"
1917
Try running `node findJavaHome.js` in the node-java directory to see the full failure message.
2018
* 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._
2420

25-
```bash
26-
$ set JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_18\
27-
$ npm install java
28-
```
21+
### Installation Windows
2922

3023
Notes:
31-
* node-gyp requires python 2.x not python 3.x. See https://github.com/TooTallNate/node-gyp/issues/155 for more details.
3224
* For 64 bit installs with 32 bit node
3325
* you need the 32 bit JDK, with the 64 bit JDK you will see LNK2001
3426
errormessages (http://stackoverflow.com/questions/10309304/what-library-to-link-to-on-windows-7-for-jni-createjavavm).
3527
* when using the windows SDK 7.1 command prompt (64 bits) be sure to setenv.cmd /Release /x86
36-
* If you see an error such as "Call to 'node findJavaHome.js' returned exit status 1"
37-
Try running `node findJavaHome.js` in the node-java directory to see the full failure message.
38-
* If you are having problems finding 'jni.h'. Make sure you have the JDK installed not just the JRE. If you are using
39-
OpenJDK you want the openjdk-7-jdk package, not openjdk-7-jre.
40-
41-
## Installation Mac
42-
43-
```bash
44-
$ npm install java
45-
```
46-
47-
_Mavericks Users: If you are having problems finding 'jni.h' please see [Issue #86](https://github.com/nearinfinity/node-java/issues/86)_
4828

49-
## Installation ARM (Raspberry Pi)
29+
### Installation ARM (Raspberry Pi)
5030

5131
```bash
5232
GYP_DEFINES="armv7=0" CCFLAGS='-march=armv6' CXXFLAGS='-march=armv6' npm install java

0 commit comments

Comments
 (0)