Start a new topic

How to install Java on macOS 10.14 Mojave?

I installed macOS 10.14 Mojave on my MacBook.


Then I checked if Java 10 was still up to date. The newest version suggested should be 10.4 (if I recall correctly). I installed the update and afterwards I was asked if I wanted to remove the older version, which I acknowledged.


Then, no update was installed.


I downloaded Java 11 from:


https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html


When I click on the downloaded file jdk-11.0.1_osx-x64_bin.dmg, a setup routine is executed. However, no Java 11 is installed.


So, big question: how do I get the latest version of Java on macOS 10.14 Mojave?


1 person has this question

Starting from Java 11, CafeTran will include it in its installation for all supported operating systems Mac, Windows and Linux.


2 people like this

I installed jre-10.0.2_osx-x64_bin.dmg from: https://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase10-4425482.html


Java 10.0.2 is installed. CafeTran Espresso 2019 works again.


I guess that I'll just have to ignore this message?


image


So, when you update macOS, don’t update Java!

Thanks. 


One more note: When using the update routine for Java, Java loads a new version, uninstalls the old one and … does nothing. Java has been removed and pronto. This is not user-friendly, but this note might be obsolete soon.

What wil happen on November 16? Will Java 10 stop working?


image


Same here.

As far as I can see, Version 8 Update 191 is the recommended version. Its release date is the 16th of octobre 2018. Anyway, certain click functions do not work anymore (clicking on filter, on TM hits etc.). This limits the functionality of CT in a decisive manner. 

This is a crazy story: we were on Java 10, cannot install 11 and have to roll back to 8?

This seems so. Some time ago I commented here that Mac will give up Java support, and Oracle does not seem to care about that. The only way would be to have a program pack with JRE included, to make sure all users have a consistent program. OmegaT offers this, and many other Java apps do.

This is 'funny' too:


From the command line, I get version 11 reported:


image


From the applet in the System Preferences I get 10.0.2 reported:


image


image

Looks like 11 had been installed after all (I based my assumption that installation went wrong on the missing 11 applet in the Preferences). However, at that time, CafeTran Espresso 2019 didn't run on 11. I had to install 10 again, which currently is being used:


image



>Oracle does not seem to care about that. The only way would be to have a program pack with JRE included


Another approach would be to migrate to JavaScript for Automation (JXA): no extra software needed, since  it is fully supported by macOS and Windows (don't know about Linux).


However, this isn't going to happen.


CafeTran Espresso 2019 is very good and I don't bother about the extra layer that is needed for Java ... as long as everything works well. I mean: as long as Java is updated easily or even automatically and no confusion of an average computer user is caused.

Just received this answer: How to install Java 11 on macOS 10.14 Mojave? Are you assuming that because there is not PrefPane, it isn't installed? Open Terminal and type: java -version It will list what is installed. The preference pane was for the Java Applet Plugin, not for the JDK. Since there is no Internet Plug-in with Java 11, there is no control panel / So the problem was that 11 wasn’t supported by CT.

I remember Igor saying that we should not install the JDK. So shall we use JDK packages now?


The other thing is that CT works with Mojave and Java 8 (the one you usually get), but some click features do not work, so this should be noted. The solution section about what Java to choose should be updated.


A Dutch parachutist has sent me today the Java 10 version mentioned above. At Oracle,com you only get it after registration (I did this, but the confirmation email may take some hours to arrive). 

Login to post a comment