ruby-spark icon indicating copy to clipboard operation
ruby-spark copied to clipboard

Java SE 6 required on OS X

Open gnilrets opened this issue 9 years ago • 6 comments

I ran ruby-spark build successfully, but then when I tried ruby-spark shell I get a popup saying I need to install Java SE 6 runtime.

I installed Java 6, and now it's working, but I'm very curious why Java 6 is needed?

gnilrets avatar Dec 23 '15 19:12 gnilrets

Make sure that $JAVA_HOME is correctly set.

ondra-m avatar Dec 23 '15 20:12 ondra-m

Yep, it's set to /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home. Still asks for Java 6 though. I didn't change any environment variables after installing Java 6, but that made it start working again.

gnilrets avatar Dec 23 '15 21:12 gnilrets

You've install Java 6? On README is: "java supported: 7+"

Maybe there is a problem.

ondra-m avatar Dec 24 '15 18:12 ondra-m

I had Java 8 installed. But it only worked after I installed Java 6 (without changing JAVA_HOME - JAVA_HOME still points to the Java 8 path).

gnilrets avatar Dec 24 '15 20:12 gnilrets

Have same issue

jsmestad avatar Jan 13 '16 18:01 jsmestad

Do you have more informations about this? Try use --trace.

I've never had this problem (on debian OS).

ondra-m avatar Jan 13 '16 19:01 ondra-m