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?

  • 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? – SQLSavant Apr 27 '12 at 15:10

go to the folder with the .jar file.

type: java -jar filename.jar in the terminal



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

You should install java run time and you can run with micro emulator. You can consult the following post: http://callthetricks.com/3375/jar-file-ubuntu/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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