Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to start spark-node with No Java runtime present error. #37

Closed
7k8m opened this issue Apr 11, 2016 · 1 comment
Closed

Failed to start spark-node with No Java runtime present error. #37

7k8m opened this issue Apr 11, 2016 · 1 comment

Comments

@7k8m
Copy link

7k8m commented Apr 11, 2016

I encountered problem as titled.
As shown next, Java 1.8 is installed but spark-node failed with error of "No Java runtime present".

$ java -version
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
$ node_modules/apache-spark-node/bin/spark-node 
No Java runtime present, requesting install.

Additional information of my environment is as next.

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.11.4
BuildVersion:   15E65
@7k8m
Copy link
Author

7k8m commented Apr 11, 2016

I found this is same error reported in node-java
joeferner/node-java#90 (comment)

manually enable JNI and problem solved.

@7k8m 7k8m closed this as completed Apr 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant