Report this

What is the reason for this report?

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

Posted on November 11, 2013

My Ubuntu 12.04 droplet is on a x64 architecture. I’m running a Minecraft server, and I followed this tutorial: https://www.digitalocean.com/community/questions/how-to-install-64-bit-jdk-on-ubuntu-12-04

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?



This textbox defaults to using Markdown to format your 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>

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.