How To Install OpenJDK Java 6 On Ubuntu Real Quick | 您所在的位置:网站首页 › 安装openjdk6 › How To Install OpenJDK Java 6 On Ubuntu Real Quick |
Installing OpenJDK 6 on Ubuntu In this guide, we will see how to download and install OpenJDK 6 on Ubuntu. - OpenJDK Community Version Please enable JavaScript Install Openjdk on windows | openjdk installation windowsWhat is OpenJDKOpenJDK is the short form of Open Java Development Kit similar to Oracle's Java Development Kit used to develop Java Applications. 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.For more details refer openjdk vs oracle jdk If you want to know more about OpenJDK, you can go through Open Java Development Kit Quick guide. Note: To uninstall previously installed OpenJDK please refer Uninstall openJDK ubuntu Step #1: DownloadTo get Ubuntu Java 6, Go to https://jdk.java.net/archive/ and download the OpenJDK 6 Ubuntu tar distribution openjdk-7u75-b13-linux-x64-18_dec_2014.tar.gz. Here is the quick lik to download the OpenJDK 6 Ubuntu tar file openjdk-7u75-b13-linux-x64-18_dec_2014.tar.gz Step #2: InstallTo Install OpenJDK 6 Ubuntu Java Runtime Or install jre ubuntu - Enter the below command on Ubuntu command line. $ sudo apt-get install openjdk-6-jre The openjdk-6-jre package contains just the Java Runtime Environment. If you want to develop Java programs then please install the openjdk-6-jdk package.To Install OpenJDK 6 Ubuntu Java Development Kit (JDK) or install jdk 6 ubuntu - Enter the below command on Ubuntu command line.$ sudo apt-get install openjdk-6-jdk Step #3: Configure / SET JAVA_HOME PathOnce the above steps are successfully completed , we need to set the "JAVA_HOME" and "PATH" environment variables. Enter the following commands to set your environment variables. Make sure that your environment variables point to a valid installation of JDK on your Ubuntumachine. export JAVA_HOME=/usr/lib/jvm/openjdk-6-jdk Add the JAVA bin directory to the PATH variableexport PATH=$PATH:$JAVA_HOME/bin This will append the java bin directory to the existing PATH variable. You can also check the PATH variable by entering the following commandStep #4: VerifyOnce the OpenJDK 6 Ubuntu Download and installation is complete, we can verify the installed OpenJDK 6 Ubuntu version using below Command. Go to Ubuntu prompt and type java -versionThe above command prints the OpenJDK 6 Ubuntu version you installed. Java -versionCongratulations !!! Now you have installed OpenJDK 6 Ubuntu Successfully. Step #5: OpenJDK Known IssuesNote: Here is the list of OpenJDK known-issues OpenJDK Known Issues Here are the ubuntu openjdk packages you might be interested in!Ubuntu package openjdk-8-jdkUbuntu package openjdk-9-jdkUbuntu package openjdk-11-jdkUbuntu package openjdk-13-jdkUbuntu package openjdk-14-jdkUbuntu package openjdk-15-jdkIf you are looking out for earlier OpenJDK versions, go to OpenJDK Archive Checkout OpenJDK Related Posts :OpenJDK On UbuntuOpenJDK 7 Installation on UbuntuOpenJDK 8 Installation on UbuntuOpenJDK 9 Installation on UbuntuOpenJDK 10 Installation on UbuntuOpenJDK 11 Installation on UbuntuOpenJDK 12 Installation on UbuntuOpenJDK 13 Installation on UbuntuOpenJDK 14 Installation on UbuntuOpenJDK 15 Installation on UbuntuInstall OpenJDK On CentOSInstall OpenJDK 8 on CentOSInstall OpenJDK 7 on CentOSInstall OpenJDK 6 on CentOSOpenJDK On WindowsOpenJDK 7 Installation on WindowsOpenJDK 8 Installation on WindowsOpenJDK 9 Installation on WindowsOpenJDK 10 Installation on WindowsOpenJDK 11 Installation on WindowsOpenJDK 12 Installation on WindowsOpenJDK 13 Installation on WindowsOpenJDK 14 Installation on WindowsOpenJDK 15 Installation on Windows![]() ![]() ![]() |
CopyRight 2018-2019 实验室设备网 版权所有 |