how to install java on ubuntu 10.0.4
Hello all,
Please help me how to install java on ubuntu 10.0.4!!!! And I want to know what java version should be install in ubuntu 10.0.4. Please guide me!! |
Hi
# you can find java in synaptic package manager in ubuntu 10.04. Quote:
Quote:
|
Execute the following commands:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" sudo apt-get update Then, you can install sun java packages using the following command: sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts |
Thank You for your helping !!
Next , I want to know how I know if java installation is successful? Please guide me sir!! Of course , I want to install topology creator (NSG2) for ns2. So, java must be installed to use NSG2!! Please help me in detail. Best regard, Khin Myo |
You can verify the availability of Java by executing the following command:
java -version |
And : You can select version, if you installed more than one :
sudo apt-get update-alternatives --config java ... Then select "openjdk" or "sun-java6". . |
All times are GMT -5. The time now is 01:06 AM. |