Navigate to the location # cd /usr/lib/jvmĮxtract the Java om the location # sudo tar zxvf jdk-7u51-linux-圆4.tar.gzĭelete the tar file if we need are keep it for backup # sudo rm jdk-7u51-linux-圆4.tar.gz Move the download Java to the location # sudo mv jdk-7u51-linux-圆4.tar.gz /usr/lib/jvm
In Ubuntu Default Repository Every packages are too old than what we need, better we can download it from official sites and install it, me too faced several issue for installing openjdk for setting up video management server's while that time i got some points from Google after a long search i got this good solution and i have documented, you can go to oracle javaĭownload the 32bit or 64bit Linux " compressed binary file" - it has a ".tar.gz" file extension and uncompress itĬreate a Directory JVM if not available in the location # sudo mkdir -p /usr/lib/jvm I got this : 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded Which is the repository to install openjdk 7. Here's the content of sources.list file : deb saucy restricted universe multiverseĭeb saucy-updates restricted universe multiverseĭeb saucy-security restricted universe multiverseĭeb saucy-proposed restricted universe multiverseĭeb saucy-backports restricted universe multiverse I got a message telling me that the package could not be found in database.
When I try sudo apt-get install openjdk-7-jdk