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 installed jdk 7 but minecraft didnt work. I tried uninstalling it in many ways but it was still on the machine and minecraft still didnt work. Does anynone know how to fix this? My ubuntu version is 12.04 LTS. Ive searched the internet and i cant find anything that works. whenever i try something new java 7 still appears in dash home and minecraft still gets black screen. after trying a few new things minecraft wont even open i tried sudo apt-get purge, apt-get remove and a lot of other commands.i cant quite remember the ppa but i think it was that might not be correct but thats what i remember. i also tried to mod minecraft by deleting meta-inf and adding minecraft forge.

share|improve this question
does minecraft require javaws ? – Vihaan Verma Jun 24 '13 at 16:53

Here is an hidden hint about openjdk-6-jre working without problem with minecraft (see comments) :

Minecraft in jdk 1.7.0_u2 x64

share|improve this answer
openjdk6 used to work fine until i upgraded to java 7. openjdk6 is not the problem oraclejava 7 is. – linuxguy Jun 24 '13 at 17:13
@linuxguy you upgraded to java 7 ?! - no new-package-installation of java 7 ? here are 2 links where is more to find : – dschinn1001 Jun 24 '13 at 17:26
either option did not worked for me :( – linuxguy Jun 24 '13 at 17:36
You have then to clean your filesystem manually - or a trick would help - you could install netbeans (package without jdk !!! ) - when you have luck, netbeans finds your jdk-installation and proceed with installation. After reboot you can remove netbeans and then it would remove jdk-7 too ? - am not sure if this works.… – dschinn1001 Jun 24 '13 at 17:46
@linuxguy here is some more present as solution: – dschinn1001 Jun 25 '13 at 21:15

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.