If you downloaded your JAR file from online, make sure you downloaded the Mac version and not another operating system's version. To do so: Open the Apple menu.

Jar Launcher

You just download them. Minecraft won't affect it unless your computer is really old and slow. Yes No. Not Helpful 3 Helpful 4. You use the command: "java -jar ".

Your Answer

You can also run these files by clicking on them on some distros of Linux, but it does not happen on most. Not Helpful 1 Helpful 1. You created it as some sort of place where you'll archive things.

Even though you created a jar file, it doesn't mean that it is an executable, so it won't run. Not Helpful 19 Helpful 5. Include your email address to get a message when this question is answered. Already answered Not a question Bad question Other. Tips Java programs should work on all platforms. If one does not, either it was not coded properly, or it is a very specialized program that calls on system resources or other programs.

If it's a library, it has no executable class inside and thus there is no use in running it. Warnings Java is safer than most programming languages, but malware written in Java still exists. Be cautious of running JAR files downloaded from online. Edit Related wikiHows. Article Info This article was co-authored by our trained team of editors and researchers who validated it for accuracy and comprehensiveness. Thanks to all authors for creating a page that has been read 1,, times.

Is this article up to date? Can you please put wikiHow on the whitelist for your ad blocker? Learn how. Cookies make wikiHow better. By continuing to use our site, you agree to our cookie policy. Co-Authored By:. Co-authors: On Mac OS X, the user interface should respond to your double-clicking the jar file icon by running it as a Java program. My recollection is that the Mac UI will not immediately do this; it complains that the jar file may not be safe true. I don't recall the popup message directs you the Security center in the Settings app or simply states that it is unsafe. After you see this message, you can go to the Security center which now after the failed attempt to start the jar file will show a box you can check to run the jar file.

I don't have a Mac in front of me now there are no Macs in my house so I am reciting this from memory. I do have a couple more questions. I had previously set my security setting to allow the mac to download from anywhere. In this day and age of viruses and hacking that makes me slightly nervous.


  • Mac OS/X .jar Failure to Open - edozajuf.tk;
  • I cannot execute .jar files on my MAC.
  • guitar rig 5 mac presets?

Can I change it back to its original setting? Also, you write, "My recollection is that the Mac UI will not immediately do this; it complains that the jar file may not be safe true ".

Popular Topics

How unsafe is it? Should I look for something?


  • To run the file (Java Runtime Environment).
  • fleetwood mac tribute band belfast.
  • Subscribe to RSS.
  • quicktime 7 download mac os x.
  • show field codes in word for mac.

Run virus programs? The DrJava file is safe. What I meant by "the jar file may not be safe true " is that Java jar files in general can do bad things to your local machine and that the Mac OS knows nothing about DrJava so it must assume that it might be malicious. Only open Java jar files from sources that your trust. I do not recommend executing jar files from unknown sources. The Java program in the jar file will execute with the same privileges as the owner of the account so a malicious Java jar flie could do a lot of damage.

The same is true for unregistered Mac apps. The open source software community is founded on trust. Open source software developers and organizations value their reputations so legitimate sources are vigilant in preventing viruses, etc. On the other hand, a jar file or app from an unknown source could be malicious. For the record, I hate smartphones in comparison to laptops and laptops with interfaces that imitate smartphones. I am facing the same issue, although even after downloading the jar file it is still not working. I am trying to download the jar file on m macbook.

I can download without problems when I open it I receive a message window from google chrome stating "drjava-beta Any suggestions on to resolve this? Mac users must download the jar file, not the Mac app which is packaged with the Apple Java 6 loader. I just removed the Mac app from the download page because the packaging system we have been using to create our downloads was designed for Apple Java distributions which ended with Java 6.

Bundling A jar File Into A Mac OS X Executable Application File

Since the most recent version of DrJava is incompatible with Java 6 no longer supported by Oracle , the Mac app on the DrJava download page that I removed was useless. I don't know why Ed Spitzmiiller's machine is trying to use Chrome to open a Java jar file. Chrome is a browser, not a JRE. The Apple gatekeeper is not supportive of open source software which admittedly exposes users to some risks open source software can potentially be malicious.

If necessary, DrJava can be run from the command line in a terminal:. I have not recently tried using this interface to execute DrJava on Mac OS X but I presume it requires the same override in the Security and Privacy center as executing the Jar file by double clicking it. I will try this approach to executing DrJava on Macs and report on the results when I get back to my campus office at Rice a few days from now. There is now only one form of installation package for the mac named.

I have no idea why there were ever two different Java 8 intallation packages for the mac as mentioned on the web page referenced above. The x64 bit extension of the old Intel x86 bit instruction set was developed by AMD, so the distinction betweeen jdk-8uversion-macosx-x In addition, the "version" reference is garbled.

The current version of Java is Java 8. For that version of Java, Oracle has generated many, many releases--patching bugs and making minor extensions. The latest Mac OS X installation file is. You can also consult. I received the same message that Chrome was not allowed to download JAR files.

macos - Jar file won't open - Super User

Any thoughts? I am confused. Were you able to install the JDK? After installing the Java JDK, clicking on the DrJava jar icon should invoke Java Runtime Environment via the user interface supported by the operating system which blocks your first attempt to execute the jar file. Chrome should never be involved. You can always work around this interface by executing the jar file from the command line. I just tried this on my MacBook. To use the command line, simply click on the terminal icon in the dock also available as the Terminal app in the Utilities subfolder in the Applications folder , execute the command typed in the terminal.

Help Create Join Login. Resources Blog Articles Deals.