Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 cannot seem to open Minecraft.jar from the file browser. Everytime I try, I select open with, then Sun Java and nothing happens. I've tried the terminal too, but that fails and just reports a load of errors. Can somebody help me?

share|improve this question
Please post the errors. Are you sure you have java? – Jjed Apr 27 '12 at 14:45
What's your output when you do sudo java -version? – cloyd800 Apr 27 '12 at 15:10

go to the folder with the .jar file.

type: java -jar filename.jar in the terminal

share|improve this answer


update-java-alternatives -l

to see, what Java versions are installed. Often there is more than one.

update-java-alternatives -h 

to get more help, specify your prefered version with

update-java-alternatives -s VERSION_NAME
share|improve this answer

You should install java run time and you can run with micro emulator. You can consult the following post:

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.