How to open .jar files?

I can't open .jar files, everytime I double click the file, all the files get extracted.


I don't want to extract the files, I want to run the .jar.


I installed the latest version of Java, but it's not working.

Posted on Oct 17, 2016 6:02 PM

Reply
3 replies

Oct 18, 2016 3:36 PM in response to ayushkadakia

ayushkadakia wrote:


I got the JDK and the JRE

Then try running it from Terminal. Type java, leave a space, then drag in the .jar file. It should look like

java some.jar

Since Apple dropped most support for Java, if there was a double-click option, it is likely gone in Sierra. I think there was an app called JarLauncher in the OS that would pass the jar file off to the java command line program.

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 to open .jar files?

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