Install Java Jdk On Ubuntu Linux System
This tutorial will guide you on how to install Java 9 Standard Edition Development Kit (JDK) in Debian and Ubuntu based Linux distributions using PPA and from sources. Installing Java 9 Using PPA. To install latest Java 9 version, first add following webupd8team/java PPA to your system and update the repository package database as shown. This tutorial will guide you on how to install Java 9 Standard Edition Development Kit (JDK) in Debian and Ubuntu based Linux distributions using PPA and from sources. Installing Java 9 Using PPA To install latest Java 9 version, first add following webupd8team/java PPA to your system and update the repository package database.
This tutorial will guide you on how to install Java 9 Standard Edition Development Kit (JDK) in Debian and Ubuntu based Linux distributions using PPA and from sources.
Installing Java 9 Using PPA
To install latest Java 9 version, first add following webupd8team/java PPA to your system and update the repository package database as shown.
Once PPA has been added and updated, now search for the packages with name oracle-java9 as shown.
The above output confirms that the Java 9 is available to install using the following command.
Install Java 9 in Ubuntu
If you have more than one Java installed on your system, you can install oracle-java9-set-default package to set Java 9 as default as shown.
Please note that the same webupd8team/java PPA also offers older versions of Java packages like Java 8 and Java 7.
The Jimmy Castor Bunch Say Leroy (The Creature From The Black Lagoon Is Your Father). The Jimmy Castor Bunch Troglodyte (Cave Man) (sampled inBack in the Day). E man comics. Artist: The Jimmy Castor Bunch. Album: E-Man Groovin'. Release year: 1976. Track length: 05:02. The Jimmy Castor Bunch — The Return of Leroy PT. 1 Maximum Stimulation, 1977 03:29.
Installing Java 9 from Sources
In order to install Java 9 SE SDK in your system, on a Desktop Linux machine, first open a browser and navigate to Java SE official download page.
Here, select Java SE Development Kit 9, hit on Downloads link and check Accept License Agreement in order to start the download process of the latest version of the tarball package.
Java offers no pre-compiled packages in the form of .deb packages for Debian based Linux distributions, so we need to use the gzipped tarball file to perform the installation.
If you install Java on a headless machine or in servers, download Java 9 SE JDK archive via wget command line utility, by issuing the below command.
After the download completes, navigate to the directory where Java package has been downloaded and issue the below commands to start installing Java software.
The commands executed below will decompress Java tarball archive directly into /opt directory. Enter java extracted path from /opt directory and issue ls command to list the content of the directory. Java executable files are located in bin directory.
Next, insert Java environment variables and the executable files path into your system $PATH variable, by issuing the below commands that will create a new file named java.sh into system profile.
This method ensures that Java environment variables and executables will be accessible system-wide.
Set Java Environment Variables
Finally, log out and log in back again to apply the settings and issue the below command to verify Java installed version on your system.
Congratulations! The latest version of Java 9 SE SDK is now installed in your Debian based Linux machine.
This page describes JDK for Linux system requirements and gives installation instructions for several JDK-Linux combinations.
This page contains these topics:
See 'JDK 8 and JRE 8 Installation Start Here' for general information about installing JDK 8 and JRE 8.
For information on enhancements to JDK 8 that relate to the installer, see 'Installer Enhancements in JDK 8'.
System Requirements
See http://www.oracle.com/technetwork/java/javase/certconfig-2095354.html for information about supported platforms, operating systems, and browsers.
On a 64-bit system, you can download either the 64-bit or the 32-bit version of the Java platform. However, if you are using a 32-bit browser and you want to use the plugin, then you need to install the 32-bit version of the Java platform. To determine which version of Firefox you are running, launch the application, and select the menu item Help -> About Mozilla Firefox. At the bottom of the window is a version string line that contains either 'Linux i686' (32-bit) or 'Linux x86_64' (64-bit). To setup the Java plugin, see 'Manual Installation and Registration of Java Plugin for Linux'.
JDK 8 Installation Instructions
This topic describes:
Installation Instructions Notation and Files
For instructions containing the notation version, substitute the appropriate JDK update version number. For example, if you are installing update JDK 8 update release 2, the following string representing the name of the bundle:
becomes:
Note that, as in the preceding example, the version number is sometimes preceded with the letter u, for example, 8u2, and sometimes it is preceded with an underbar, for example, jdk1.8.0_02.
The following table lists the options and instructions for downloading the JDK 8 release on a Linux platform.
| Download File and Instructions | Architecture | Who Can Install |
|---|---|---|
jdk-8uversion-linux-x64.tar.gz'Installation of the 64-bit JDK on Linux Platforms' | 64-bit | anyone |
jdk-8uversion-linux-i586.tar.gz'Installation of the 32-bit JDK on Linux Platforms' | 32-bit | anyone |
jdk-8uversion-linux-x64.rpm'Installation of the 64-bit JDK on RPM-based Linux Platforms' | 64-bit RPM-based Linux | root |
jdk-8uversion-linux-i586.rpm'Installation of the 32-bit JDK on RPM-based Linux Platforms' | 32-bit RPM-based Linux | root |
Installation can be performed using either of the following:

Installation of Oracle Linux JDK using archive binaries (
.tar.gz) allows you to install a private version of the JDK for the current user into any location, without affecting other JDK installations. However, it may involve manual steps to get some of the features to work (for example, the-version:releaseoption of thejavacommand, which allows you to specify the release to be used to run the specified class, requires the correct path to the JDK release under/usr/jdk).Installation of Oracle Linux JDK using RPM packages allows you to perform a system-wide installation of the JDK for all users, and requires root access. RPM-based Linux platforms are based on Red Hat and SuSE.
Note: When you download and install the Java Development Kit (JDK), the associated Java Runtime Environment (JRE) is also installed. |
JDK 7u6 and later releases include JavaFX SDK (version 2.2 or later). The JavaFX SDK and Runtime are installed and integrated into the standard JDK directory structure.
For information about how to work with JavaFX, see http://docs.oracle.com/javase/8/javase-clienttechnologies.htm.
Installation of the 64-bit JDK on Linux Platforms
This procedure installs the Java Development Kit (JDK) for 64-bit Linux, using an archive binary file (.tar.gz).
These instructions use the following file:
Download the file.
Before the file can be downloaded, you must accept the license agreement. The archive binary can be installed by anyone (not only root users), in any location that you can write to. However, only the root user can install the JDK into the system location.
Change directory to the location where you would like the JDK to be installed, then move the
.tar.gzarchive binary to the current directory.Unpack the tarball and install the JDK.
The Java Development Kit files are installed in a directory called
jdk1.8.0_versionin the current directory.Delete the
.tar.gzfile if you want to save disk space.
Installation of the 64-bit JDK on RPM-based Linux Platforms
This procedure installs the Java Development Kit (JDK) for 64-bit RPM-based Linux platforms, such as Red Hat and SuSE, using an RPM binary file (.rpm) in the system location. You must be root to perform this installation.
These instructions use the following file:
Download the file.
Before the file can be downloaded, you must accept the license agreement.
Become root by running
suand entering the super-user password.Uninstall any earlier installations of the JDK packages.
Install the package.
To upgrade a package:
Delete the
.rpmfile if you want to save disk space.Exit the root shell. No need to reboot.
Starting with version 8u40, the JDK installation is integrated with the alternatives framework and after installation, the alternatives framework is updated to reflect the binaries from the recently installed JDK. Java commands such as java, javac, javadoc, and javap can be invoked from the command line.
Using the java -version command, users can confirm the default (recently installed) JDK version.
In addition, users can now check which specific RPM package provides the java files:
Installation of the 32-bit JDK on Linux Platforms
This procedure installs the Java Development Kit (JDK) for 32-bit Linux, using an archive binary file (.tar.gz).
These instructions use the following file:
Download the file.
Before the file can be downloaded, you must accept the license agreement. The archive binary can be installed by anyone (not only root users), in any location that you can write to. However, only the root user can install the JDK into the system location.
Change directory to the location where you would like the JDK to be installed, then move the
.tar.gzarchive binary to the current directory.Unpack the tarball and install the JDK.
The Java Development Kit files are installed in a directory called
jdk1.8.0_versionin the current directory.Delete the
.tar.gzfile if you want to save disk space.
Installation of the 32-bit JDK on RPM-based Linux Platforms
This procedure installs the Java Development Kit (JDK) for 32-bit RPM-based Linux platforms, such as Red Hat and SuSE, using an RPM binary file (.rpm) in the system location. You must be root to perform this installation.
These instructions use the following file:
Download the file.
Before the file can be downloaded, you must accept the license agreement.
Become root by running
suand entering the super-user password.3. Uninstall any earlier installations of the JDK packages.
Install the package.
To upgrade a package:
Exit the root shell. No need to reboot.
5. Delete the
.rpmfile if you want to save disk space.
Starting with version 8u40, the JDK installation is integrated with the alternatives framework and after installation, the alternatives framework is updated to reflect the binaries from the recently installed JDK. Java commands such as java, javac, javadoc, and javap can be invoked from the command line.
Using the java -version command, users can confirm the default (recently installed) JDK version.
In addition, users can now check which specific RPM package provides the java files:
General Installation Notes
This topic describes general installation topics.
System Preferences
By default, the installation script configures the system such that the backing store for system preferences is created inside the JDK's installation directory. If the JDK is installed on a network-mounted drive, it and the system preferences can be exported for sharing with Java runtime environments on other machines.
See http://docs.oracle.com/javase/8/docs/technotes/guides/preferences/index.html for more information about preferences in the Java platform.