How can I install java on mojave 10.14.2 ?

I need JGRASP on my mac for a class and to run it I need the latest java, but even when i download the latest java on oracle i get a pop up saying i need the latest version still.

MacBook Pro 13", 10.14

Posted on Jan 27, 2019 5:48 PM

Reply
8 replies

Mar 13, 2019 12:53 PM in response to tbirdvet

To stay on-topic, Trying to get OpenJDK 11.0.2 to install on 10.14.2. Here's the reason. I'd like to run Octave on my MAC running 10.14.2 and Octave requires OpenJDK 11.0.2+9.


I'm NOT experienced with doing OpenSource updates on my MAC system, but, would very much like to learn. Can someone, outline for a novice user, the How-To's to get a OpenJDK 11.0.2+9 environment on Mojave?


Mar 13, 2019 1:48 PM in response to LongLiveMac

To stay on-topic, Trying to get OpenJDK 11.0.2 to install on 10.14.2. Here's the reason. I'd like to run Octave on my MAC running 10.14.2 and Octave requires OpenJDK 11.0.2+9.

I'm NOT experienced with doing OpenSource updates on my MAC system, but, would very much like to learn. Can someone, outline for a novice user, the How-To's to get a OpenJDK 11.0.2+9 environment on Mojave?

Hope this helps... it worked for me.


cd ~/Downloads

tar xf openjdk-11.0.2_osx-x64_bin.tar.gz


sudo mv jdk-11.0.2.jdk /Library/Java/JavaVertualMachines/

java -version

java -version


java -version

OpenJDK version "11.0.2" 2019-01-15

OpenJDK Runtime Environment 18.9 (build 11.0.2+9)

OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

java -version

java 11.0.2



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can I install java on mojave 10.14.2 ?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.