Professional Documents
Culture Documents
http://www.oracle.com/technetwork/java/javase/install-linux-64-rpm-13...
Communities
I am a...
I want to...
Search
SOLUTIONS
DOWNLOADS
STORE
SUPPORT
TRAINING
PARTNERS
ABOUT
Java
Java SE
Java SE Java EE Java ME Java SE Support Java SE Advanced & Suite Java Embedded JavaFX Java DB Web Tier Java Card Java TV New to Java Community Java Magazine
Installation Instructions This procedure installs the Java Development Kit (JDK) for 64-bit Linux, using an RPM binary bundle. Some Linux distributions, such as Ubuntu, are not RPM-based. In that event, please see the self-extracting installation page. The name of the downloaded file has the following format: jdk-6u <version>-linux-x64-rpm.bin <version> jdk-6u18-linux-x64-rpm.bin To install, download this file and use the following instructions: 1. Download and check the download file size. You can download to any directory that you can write to. 2. Become root by running the su command and entering the root password. 3. Extract and install the contents of the downloaded file. Change directory to where the downloaded file is located and run these commands to first set the executable permissions and then run the binary to extract and run the RPM file: % chmod a+x jdk-6u <version>-linux-x64-rpm.bin % ./jdk-6u <ver
Note that the initial " ./" is required if you do not have " ." in your PATH environment variable. The script displays a binary license agreement, which you are asked to agree to before installation can proceed. Once you have agreed to the license, the install script creates and runs the file jdk-6u <version>-linux-x64.rpm in the current directory. NOTE - If instead you want to only extract the RPM file but not install it, you can run the .bin file with the -x argument. You do not need to be root to do this. 4. Delete the rpm file if you want to save disk space. 5. Exit the root shell. 6. If you want to use Java within the browser, setup the plugin using the instructions in Manual Plugin Installation for Linux.
Known Problems On 64-bit Linux platforms the 32-bit JDK and 64-bit JDK cannot co-exist when installed from the RPM bundles. One must install one or the other but not both.
The workaround is to use the .bin bundle and install into distinct directories.
Printer View
ORACLE CLOUD
Learn About Oracle Cloud Get a Free Trial Learn About PaaS Learn About SaaS Learn About IaaS
JAVA
Learn About Java Download Java for Consumers Download Java for Developers Java Resources for Developers Java Cloud Service
COMMUNITIES
Blogs Discussion Forums Wikis Oracle ACEs User Groups
1 of 2
8/21/2013 10:21 AM
http://www.oracle.com/technetwork/java/javase/install-linux-64-rpm-13...
Java Magazine
Subscribe Careers Contact Us Site Maps Legal Notices Terms of Use Privacy Cookie Preferences
2 of 2
8/21/2013 10:21 AM