Cannot launch JAR file in Mac OS X 10.14.3 (Mojave)

I'm running an iMacPro running Mac OS X ver. 10.14.3 (Mojave). When I attempt to start a JAR file, all I get is an error message that I can't. All my software appears to be up-to-date.


Please advise.


Sam




[Personal Information Edited by Host]

iMac Pro, macOS 10.14

Posted on Mar 20, 2019 8:43 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 20, 2019 8:54 PM

Orbital, in order to run a jar file in Mojave, you need to have some implementation of Java installed. Apple deprecated Java 6 years ago. As a result, it is now necessary to install Oracle's java implementation. You can download the latest version here:


https://www.oracle.com/technetwork/java/javase/downloads/index.html


After you have run the installer package, you can verify that it is the active Java installation by typing the following in the Terminal and hitting your return key:


java -version


Please let me know if this resolves your issue. Thanks!

Similar questions

9 replies
Question marked as Top-ranking reply

Mar 20, 2019 8:54 PM in response to OrbitalMechanic

Orbital, in order to run a jar file in Mojave, you need to have some implementation of Java installed. Apple deprecated Java 6 years ago. As a result, it is now necessary to install Oracle's java implementation. You can download the latest version here:


https://www.oracle.com/technetwork/java/javase/downloads/index.html


After you have run the installer package, you can verify that it is the active Java installation by typing the following in the Terminal and hitting your return key:


java -version


Please let me know if this resolves your issue. Thanks!

Mar 20, 2019 10:04 PM in response to OrbitalMechanic

Can you please clarify your comment? Are you saying that you were unable to install Java, or that even though you successfully installed it, you still couldn't get the jar file to run? Also, is it possible that the jar file requires legacy Java, such as Java 6? As you may know, even with the latest and the greatest from Oracle installed, some older Java-dependent apps will not work, because they require Java 6, which you can download here, if needed:


https://support.apple.com/kb/dl1572?locale=en_US


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.

Cannot launch JAR file in Mac OS X 10.14.3 (Mojave)

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