I’m running Ubuntu 12.04 x64 and a Minecraft server on it, the tutorial I followed https://www.digitalocean.com/community/articles/how-to-set-up-a-minecraft-server-on-linux tells me to download the JDK (Java runtime), for obvious reasons. But when I run “java -d64” it says
“This Java instance does not support a 64-bit JVM. Please install the desired version.”
How do I install the desired version correctly?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
sudo apt-add-repository ppa:webupd8team/java <br>sudo apt-get update <br>sudo apt-get install oracle-java7-installer