$ sudo apt-get install openjdk-6-*
tente isso no terminal
Talvez o openjdk6 possa ter sido eliminado dos repositórios do ubuntu tente isso
$ sudo apt-get install openjdk-7-jdk
Quando eu digito o seguinte comando
ramesh@ramesh-H61M-S2P-B3:~$ sudo apt-get install openjdk-6-jdk
recebendo erro como,
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package openjdk-6-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
apt
E: Package 'openjdk-6-jdk' has no installation candidate
Como resolver isso?
$ sudo apt-get install openjdk-6-*
tente isso no terminal
Talvez o openjdk6 possa ter sido eliminado dos repositórios do ubuntu tente isso
$ sudo apt-get install openjdk-7-jdk
Experimente sudo apt-get update
e, em seguida, sudo apt-get install openjdk-6-jdk