Comment Useful information for those who have an issue (Score 1) 307
There are two ways around this in Ubuntu 11.10 (and, I'm assuming, derivative distributions). One way is to install from a PPA (that's the most likely answer you'll get if you search for a remedy online). I don't really like that idea, so I sat down today, did some research, and figured out how to install the latest version (1.6.0-30) directly from the Oracle website. It is not a trivial process, if you are a relative amateur like I am. Why does an amateur like me care? Because a very common mathematics learning software (ALEKS) requires Sun Java to run. I teach using this software, and although I could run a VM to access their system, I'd rather not. If anyone cares, here's what to do, after you download the appropriate .bin file from Oracle:
chmod +x jre-6u30-linux-x64.bin
./jre-6u30-linux-x64.bin
sudo mkdir /opt/java
sudo mkdir /opt/java/64
sudo mv jre1.6.0_30/ /opt/java/64/jre1.6.0_30
sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/64/jre1.6.0_30/bin/java" 1
sudo update-alternatives --set java /opt/java/64/jre1.6.0_30/bin/java
cd /usr/lib/mozilla/plugins
sudo ln -s /opt/java/64/jre1.6.0_30/lib/amd64/libnpjp2.so
PS I'm sure there's a better way to do this, but it worked. I pieced this together off of the web - none of it is original.
chmod +x jre-6u30-linux-x64.bin
sudo mkdir
sudo mkdir
sudo mv jre1.6.0_30/
sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/64/jre1.6.0_30/bin/java" 1
sudo update-alternatives --set java
cd
sudo ln -s
PS I'm sure there's a better way to do this, but it worked. I pieced this together off of the web - none of it is original.