How To Install OpenJDK Java 6 On Ubuntu Real Quick 您所在的位置:网站首页 安装openjdk6 How To Install OpenJDK Java 6 On Ubuntu Real Quick

How To Install OpenJDK Java 6 On Ubuntu Real Quick

2023-05-05 18:58| 来源: 网络整理| 查看: 265

Installing OpenJDK 6 on UbuntuOpenJDK Developers Guide

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 OpenJDK

OpenJDK 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: Download

To 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: Install

To 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 Path

Once 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 variable

export 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 command

Step #4: Verify

Once 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 -version

Verify the installed OpenJDK 6 Ubuntu version on windows

Congratulations !!! Now you have installed OpenJDK 6 Ubuntu Successfully.

Step #5: OpenJDK Known Issues

Note: 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-jdk

If 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 Ubuntu

Install OpenJDK On CentOSInstall OpenJDK 8 on CentOSInstall OpenJDK 7 on CentOSInstall OpenJDK 6 on CentOS

OpenJDK 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

Ezoicreport this adArchivesJavaOpenJDK Developers GuideRedhat OpenJDKAdoptOpenJDKOpenJDK 11 Download and Installation on WindowsOpenJDK 8 Download and Installation on WindowsOpenJDK 9 Download and Installation on WindowsUninstall OpenjdkOpenJDK 12 FeaturesOpenJDK 11 FeaturesOpenJDK 10 FeaturesOpenJDK 9 FeaturesOpenJDK 8 FeaturesOpenJDK 7 FeaturesJbossJboss vs WildflyJboss VersionsJboss Datasource ConfigurationsJboss Known Exceptions & SolutionsCode Camp!Register for a free code camp.email: [email protected]

Ezoicreport this adEzoicreport this adxCopyright 漏 Techoral.com 2019Privacy PolicyTerms of Use

xxx


【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有