i have never had java because i cannot get java

Asked by 123a123b123clouis howard on 2011-11-24

i can not get java to work in any way shape or form .firefox does not even reconize the plugin and the terminal never acts on commands

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu sun-java6 Edit question
Assignee:
No assignee Edit question
Last query:
2011-11-24
Last reply:
2011-11-24
enubuntu (mr.tennents) said : #1

Do you use Ubuntu 11.10?
Follow this if you use Ubuntu 11.10 32 bit:
https://answers.launchpad.net/ubuntu/+source/sun-java6/+question/179755

thanks for the reply Enrico,but i have a 64 bit and i have downloaded the pluging at ten times or more but it never works.One thing i do is that it is nearly imposible to install java

If you run this you will get 64bit Java:

sudo mkdir /usr/lib/jvm
cd /usr/lib/jvm
sudo wget http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-x64.tar.gz
sudo apt-get install unp
sudo unp ./jdk-7-linux-x64.tar.gz
sudo rm ./jdk-7-linux-x64.tar.gz
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jre1.7.0/bin/java 71
sudo update-alternatives --config java
mkdir ~/.mozilla/plugins
cd ~/.mozilla/plugins
ln -s /usr/lib/jvm/jdk1.7.0/lib/amd64/libnpjp2.so
cd

Should do it :)

Can you help with this problem?

Provide an answer of your own, or ask 123a123b123clouis howard for more information if necessary.

To post a message you must log in.