This will create a Java directory with a name appropriate to your Java version. This can be achieved with the following linux command: $ sudo tar -C /usr/lib/jvm -xzf jdk-7u11-linux-圆4.tar.gz The initial installation involves a simple tar file extraction for the Java’s source package to /usr/lib/jvm. As a root or with help of the sudo command create the directory /usr/lib/jvm: $ sudo mkdir /usr/lib/jvm Install Java JDK 7 Once we extract Java package to this directory we use this directory and set system’s environment appropriately to reflect the new Java installation. However, in this article we will install Java into /usr/lib/jvm directory. You can use Java by simply extracting it in any directory and then set your path to this location. Store this tarball source package into your home directory or some other arbitrary place. Current version of this source package is jdk-7u11-linux-圆4.tar.gz and this is also what we are going to use in this tutorial. Navigate to JDK Downloads, accept license terms and download jdk-7 -linux. Download Oracle Java JDK 7įirst, we need to download Oracle Java JDK source package from the official Oracle website. This article will cover installation of Oracle Java JDK 7 from a source package or by converting RPM Java package to the Debian software package format. In the previous article we have discussed how to install OpenJDK java on ubuntu from the standard Ubuntu repository or Oracle’s Java JDK 7 using Personal Package Archives ( PPA ).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |