Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use mac with mountain lion and java u update 21. When I try to open the file with a double click, I get the following error: java file.jar could not be launched, or sometimes not after the double click, nothing happens.

Why is this happening??

share|improve this question

migrated from Jun 17 '13 at 17:24

This question came from our site for professional and enthusiast programmers.

Try executing your jar file from the command line (terminal):

java -jar MyJar.jar

This should give you more verbose output about your error.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.