you can try in terminal (ctrl + alt + F1 ) ; apt-get install sun-java6-jdk
Error Installing Sun JDK 6
-
26-06-2022 - |
Domanda
I am trying to install the SUN JDK 6 on my VM running Ubuntu 11.10 64-bit Desktop.
"sudo apt-get install sun-java6-jdk" won't work because Sun JDK 6 is no longer available via apt-get since the Oracle acquisition.
So I went to the Oracle website and downloaded jdk-6u26-linux-x64.bin Then ran the following commands
sudo mkdir /usr/lib/jvm ; cd /usr/lib/jvm
sudo cp ~/Downloads/jdk-6u26-linux-x64.bin .
sudo chmod +x jdk-6u26-linux-x64.bin
sudo ./jdk-6u26-linux-x64.bin
but I the install fails at extraction. Here it is:
I do need to have the specific version of Ubuntu and the Java JSK for what I am doing and I am still kind of new to Linux.
Nessuna soluzione corretta
Altri suggerimenti
make sure that the file download has not failed and follow this guide http://rafacompnotes.wordpress.com/2011/06/14/hello-world/
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow