I have installed 11.04 in my machine. I have installed JDK6 from the repository. My problem is I need to install JDK5 in my machine I have used the following command but its not working.
~$ sudo apt-get install sun-java5-jdk
It gives the following messages:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sun-java5-jdk
Please help