5
1
I am a windows user, and wonder how do I go about installing java on Ubuntu (VirtualBox)
I have tried
sudo apt-get install sun-java6-bin
got
couldnt find package
sudo apt-get install sun-java6-jre
got
sun-java6-jre has no installation candidate
I also tried the .bin file:
sudo chmod 755 <filename>.bin
./<filename>.bin
Seems like it has done its things without errors, but
java -version
gives
the program 'java' can be found in the following package ...
Total duplicate. – Apache – 2010-07-23T16:15:51.193
possible duplicate of Java and Ubuntu
– Apache – 2010-07-23T16:16:53.717