This question already has an answer here:

I want to play on Minecraft servers, I can get on, but can't do anything, I can only play like one day per month. Do I need the latest version of Java or something? I am now using OpenJDK Java 7 Runtime to play Minecraft. By the way, the happened after I turned off my computer during the upgrade to 14.04 LTS. Before it was all normal. And now I am back to 12.04. Thanks to whoever that helps.

I already got Java 8 but there's a problem, I can't even play Minecraft now! When I go in one of my worlds this comes out:

AL lib: (EE) alc_cleanup: 1 device not closed
pure virtual method called
terminate called without an active exception

Now what? :/

marked as duplicate by muru, Eric Carvalho, Ravan, Mark Kirby, hg8 Jan 3 '16 at 18:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • So, are you 12.04 or 14.04, right now? – muru Dec 31 '15 at 17:41

The latest Java version is 8 and available from a Launchpad PPA.

To install Java 8 (OpenJDK 8) open a terminal and execute :

sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
  • Ok thanks, do I need to uninstall the Java that I currently have? – Emily Shan Dec 31 '15 at 18:56
  • @EmilyShan : You can have both versions installed side by side - so it's up to you ... :) – cl-netbox Dec 31 '15 at 18:58
  • And I have a question, what's the difference between the up arrow and the check in AskUbuntu? – Emily Shan Dec 31 '15 at 19:00
  • Ohhh, ok, thanks. I will see if it works for me(If I can play Minecraft successfully), I'll check right away :) – Emily Shan Dec 31 '15 at 19:03
  • And another question, why does the Java 8 looks different(The icon) then 6 and 7? 6 and 7 are like, a penguin type of thingy, and 8 is like the java in Windows :/ Just curious like always – Emily Shan Dec 31 '15 at 19:05

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