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 upgraded to java 7 JDK bur minecraft got a black screen after startup.I found out that java 7 didnt work with linux. when i deleted the JDK, minecraft wouldent even open.every java 7 icon is still there, even though it got erased. I have openjdk6 on the computer too.

share|improve this question
What procedure did you follow to upgrade/delete the JDK? If you upgraded that means the current stable version of JDK would be JDK 7. – edwin Jun 24 '13 at 19:50
@edwin i followed a procedure and this was the command sudo apt-get purge oracle-java7-installer – nic Jun 24 '13 at 19:56
What version of Ubuntu are you using?? (Because there is the openjdk.) You could also read this – edwin Jun 24 '13 at 20:00
@edwin im using 12.04 LTS – nic Jun 24 '13 at 20:03
  • $ java -version will tell you which version of java is being used. Since the java icon is still there , it might be still present on your system.
share|improve this answer
@ Vihaan Verma it just says "The program "java" can be found in the following packages". – nic Jun 24 '13 at 20:07
@kid: So it seems the game is not running because you have uninstalled java from your system completely. Since it was running fine with the previous version of java( java 6) , you can open up the software center and install java 6. I think this should fix your problem. – Vihaan Verma Jun 24 '13 at 20:11
I have alreadt installed openjdk6 but it seems like the actual version of java 7 from oracle is still on my sytem. – nic Jun 24 '13 at 21:48
if java and javac commands dont run on your system, then you dont have them installed. If you are sure that openjdk6 is present on your system please upload the snapshot displaying it – Vihaan Verma Jun 26 '13 at 15:41

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.