Here is the quick lik to download the openjdk-7-jdk tar file openjdk-7u75-b13-linux-圆4-18_dec_ Step #2: Install To download open jdk 7, Go to and download the openjdk-7-jdk tar distribution openjdk-7u75-b13-linux-圆4-18_dec_. Note: To uninstall previously installed OpenJDK please refer Uninstall openJDK ubuntu Step #1: Download If you want to know more about OpenJDK, you can go through Open Java Development Kit Quick guide.
For more details refer openjdk vs oracle jdk
#HOW TO UNINSTALL OPENJDK 7 IN UBUNTU FREE#
Main difference between Oracle JDK and OpenJDK is that OpenJDK is free for all while Oracle Java Development Kit or Oracle JDK requires commercial license. OpenJDK is the short form of Open Java Development Kit similar to Oracle's Java Development Kit used to develop Java Applications. OpenJDK Community Version What is OpenJDK If you want to remove openjdk-7-jre (without installing other packages), you will need to uninstall all packages which depend on it first.Quick guide to download and install OpenJDK 7 on Ubuntu. As long as these packages are installed, OpenJDK cannot be uninstalled without installing an alternate Java automatically. This indicates that all the LibreOffice packages are depending on openjdk-7-jre. To find out what is causing this, run these commands in a terminal: packages=(default-jre default-jre-headless icedtea-6-plugin icedtea-7-plugin java-compiler java-jdk java-runtime java-runtime-headless java-sdk java-virtual-machine java2-jdk java2-runtime java2-runtime-headless java2-sdk java5-jdk java5-runtime java5-runtime-headless java5-sdk java6-jdk java6-runtime java6-runtime-headless java6-sdk java7-jdk java7-runtime java7-runtime-headless java7-sdk openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-7-jdk openjdk-7-jre openjdk-7-jre-headless oracle-java7-bin oracle-java7-fonts oracle-java7-jdk oracle-java7-jre oracle-java7-plugin sun-java6-bin sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-plugin)Īpt_cache_out= " $(apt-cache -installed rdepends " $pkg" | grep -E '^ S')" if (( $? = 0 )) then echo -Įcho " $pkg" echo " $apt_cache_out" fi doneĮxample output (shortened):. To solve this, it installs another package which provides Java. While removing openjdk-7-jre, apt-get sees that if it uninstalls OpenJDK, some packages will have unmet dependencies. This happens likely because another package on your system is depending on Java. What do I need to do so that no new packages, of which I need none, will be installed when removing openjdk-7? Need to get 57, 0 MB/ 57, 2 MB of archives.Īfter this operation, 156 MB of additional disk space will be used. The following NEW packages will be installed:Ġ upgraded, 13 newly installed, 7 to remove and 4 not upgraded. Openjdk- 6-jre-headless openjdk- 6-jre-libįastjar gcj- 4.7-jdk gcj-jdk libgcj13-dbg sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fontsĭefault-jre* icedtea- 7-plugin* icedtea-netx* icedtea-plugin* libatk-wrapper-java* libatk-wrapper-java-jni* openjdk- 7-jre* Gcj- 4.7-base gcj- 4.7-jre gcj- 4.7-jre-headless gcj- 4.7-jre-lib gcj-jre gcj-jre-headless icedtea- 6-jre-cacao icedtea- 6-jre-jamvm libgcj-common libgcj13 libgcj13-awt The following extra packages will be installed: I don't want OpenJDK installed on my Ubuntu 13.04 system, but trying to uninstall the openjdk-7-jre yields the following message: $ sudo apt-get purge openjdk- 7-jre