Is there a way to run this jar on Macos High Sierra?

Dan Coutu February 23, 2018

I have the latest Java installed on my Mac and that includes the Jar Launcher. However the security settings of High Sierra do not allow me to run the jar file. I have tried to move it to my Applications folder and take the steps that normally work for native apps but so far have had no luck.

Is there a way to run this on a High Sierra Mac?

1 answer

0 votes
Nick Staresinic
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 12, 2018

Update:

In my case, I had a Netbeans app that I developed in Snow Leopard and was unable to open by double-clicking in High Sierra.

Instead of copying over just the .jar, I copied the dist directory the contained the .jar and the library directory that contained 6 other .jar files added when I originally compiled the the distribution version.

Double-clicking the app's .jar still didn't work, but I was able to launch "my_app.jar" from the terminal by cd-ing into the dist directory and using

> java -jar my_app.jar

(NB: I have the latest JDK installed.)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events