Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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? –  Jacob Johan Edwards Apr 27 '12 at 14:45
    
What's your output when you do sudo java -version? –  cloyd800 Apr 27 '12 at 15:10
add comment

3 Answers 3

go to the folder with the .jar file.

type: java -jar filename.jar in the terminal

share|improve this answer
add comment

Issue

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
add comment

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/

share|improve this answer
add comment

Your Answer

 
discard

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.