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

  • Posted November 11, 2013

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?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Thanks for the help, however now when I run java it throws: -bash: /usr/bin/java: No such file or directory <br>