-
Notifications
You must be signed in to change notification settings - Fork 289
Closed
Description
I'm not a Java expert, but I am having this issue.
~/dev $ npm install [email protected]
npm http GET http://npm.paypal.com/java/0.2.7
npm http 200 http://npm.paypal.com/java/0.2.7
npm http GET http://registry.npmjs.org/java/-/java-0.2.7.tgz
npm http 200 http://registry.npmjs.org/java/-/java-0.2.7.tgz
> [email protected] install /Users/jamuferguson/dev/node_modules/java
> node-gyp rebuild
CXX(target) Release/obj.target/nodejavabridge_bindings/src/java.o
In file included from ../src/java.cpp:2:
../src/java.h:7:10: fatal error: 'jni.h' file not found
#include <jni.h>
^
1 error generated.
make: *** [Release/obj.target/nodejavabridge_bindings/src/java.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Darwin 13.0.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/jamuferguson/dev/node_modules/java
gyp ERR! node -v v0.10.21
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0
Here is my version number and stuff
~/dev $ which java
/usr/bin/java
~/dev $ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
Metadata
Metadata
Assignees
Labels
No labels