I setup a ubuntu 64bit server, and I want to install java on it, but I want to make sure it is a 64bit version of java. My theory is that the 64bit version of java could use all the memory of my server better. It's just my theory, so maybe I'm wrong about that.
Also, I can't seem to find instructions on how to get a 64bit version of java
usually i use this command to install java
sudo apt-get install openjdk-7-jre
but i don't know if this is a 32bit version.
so if there is a way to install 64bit java using apt-get, that would be preferred because I like how apt-get gets all the dependencies.