Вы находитесь на странице: 1из 2

JDK RPM 64-bit Installation

http://www.oracle.com/technetwork/java/javase/install-linux-64-rpm-13...

Welcome Senthil Account Sign Out Help Select Country/Region

Communities

I am a...

I want to...

Search

PRODUCTS AND SERVICES

SOLUTIONS

DOWNLOADS

STORE

SUPPORT

TRAINING

PARTNERS

ABOUT

Oracle Technology Network

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

JDK RPM Installation for Linux (64-bit)


JDK Documentation System Requirements See supported System Configurations for information about supported platforms, operating systems, desktop managers, 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).

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.

E-mail this page

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

CUSTOMERS AND EVENTS


Explore and Read Customer Stories All Oracle Events Oracle OpenWorld JavaOne

COMMUNITIES
Blogs Discussion Forums Wikis Oracle ACEs User Groups

SERVICES AND STORE


Log In to My Oracle Support Training and Certification Become a Partner Find a Partner Solution Purchase from the Oracle Store

1 of 2

8/21/2013 10:21 AM

JDK RPM 64-bit Installation

http://www.oracle.com/technetwork/java/javase/install-linux-64-rpm-13...

Java Magazine

Social Media Channels

Subscribe Careers Contact Us Site Maps Legal Notices Terms of Use Privacy Cookie Preferences

2 of 2

8/21/2013 10:21 AM

Вам также может понравиться