How to run **64-bit** Java Runtime on Ubuntu 12.04

Posted November 11, 2013 3.8k views
My Ubuntu 12.04 droplet is on a x64 architecture. I'm running a Minecraft server, and I followed this tutorial: However, when I run "java -d64" I get this error: This Java instance does not support a 64-bit JVM. Please install the desired version. Why is this happening?

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.

Submit an Answer
1 answer
Thanks for the help, however now when I run java it throws: -bash: /usr/bin/java: No such file or directory