http://www.oracle.com/technetwork/java/javase/install-linux-64-self-extracting-142068.html
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). To setup the Java plugin, see step 6.
Installation Instructions
This procedure installs the Java Development Kit (JDK) for 64-bit Linux, using a self-extracting binary file. The JDK download includes the Java SE Runtime Environment (JRE) – you do not have to download the JRE separately.
For RPM-based Linux distributions, like Red Hat or SuSE, refer to the RPM installation instructions.
The name of the downloaded file has the following format:
jdk-6u
<version>-linux-x64.bin
<version>
jdk-6u18-linux-x64.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.
This bundle can be installed by anyone (not only root users), in any location that the user can write to. However, only the root user can displace the system version of the Java platform supplied by Linux.
2. Make sure that execute permissions are set
Run this command:
% chmod +x 6u <version>-linux-x64.bin
3. Change directory to the location where you would like the files to be installed.
The next step installs the JDK into the current directory.
4. Run the self-extracting binary.
Execute the downloaded file, prepended by the path to it. For example, if the file is in the current directory, prepend it with " ./" (necessary if " ." is not in the PATH environment variable):
% ./jdk-6u <version>-linux-x64.bin
The binary code license is displayed, and you are prompted to agree to its terms.
The Java Development Kit files are installed in a directory called jdk.6.0_<version> in the current directory. Follow this link to see its directory structure.
5. Delete the bin file if you want to save disk space.
Note about Root Access: Installing the software automatically creates a directory called jre1.6.0_ <version> . Note that if you choose to install the Java SE Runtime Environment into system-wide location such as /usr/local, you must first become root to gain the necessary permissions. If you do not have root access, simply install the Java SE Runtime Environment into your home directory, or a subdirectory that you have permission to write to.
Note about Overwriting Files: If you install the software in a directory that contains a subdirectory named jre1.6.0_ <version> , the new software overwrites files of the same name in that jre1.6.0_ <version> directory. Please be careful to rename the old directory if it contains files you would like to keep.
Note about 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 the Preferences API documentation for more information about preferences in the Java platform.
分享到:
相关推荐
jdk-8u361-linux-aarch64.rpm jdk-8u361-linux-i586.rpm jdk-8u361-linux-i586.tar.gz jdk-8u361-linux-x64.rpm jdk-8u361-linux-x64.tar.gz jdk-8u361-windows-i586.exe jdk-8u361-windows-x64.exe 如果需要mac版本...
jdk-11.0.19_linux-x64_bin.tar.gz文件 jdk-11.0.19_linux-x64_bin.tar.gz文件 jdk-11.0.19_linux-x64_bin.tar.gz文件 jdk-11.0.19_linux-x64_bin.tar.gz文件 jdk-11.0.19_linux-x64_bin.tar.gz文件 jdk-11.0.19_...
Centos7离线安装文件 jdk-8u231-linux-x64.tar.gz压缩包 免费下载,现在博客都是付费文件,搞得头大,现在免费分享
常用Linux服务器环境的JDK jdk-8u121-linux-x64.tar.gz文件在Linux_JDK8内,请解压之后使用,如果无法下载请留言!
最新版linux jdk-8u371-linux-x64.tar.zip最新版linux jdk-8u371-linux-x64.tar.zip最新版linux jdk-8u371-linux-x64.tar.zip
(1)jdk-8u301-linux-aarch64.rpm (2)jdk-8u301-linux-aarch64.tar.gz (3)jdk-8u301-linux-arm32-vfp-hflt.tar.gz (4)jdk-8u301-linux-i586.rpm (5)jdk-8u301-linux-i586.tar.gz (6)jdk-8u301-linux-x64....
jdk-8u221-windows-x64.exe&jdk;-8u221-linux-x64.tar.gz,JDK最新版本
jdk-8u202-linux-x64.rpm适用于Linux 64位系统,是在Binary Code License (“BCL”)许可协议下提供最后的免费商业版本,允许用在生产环境中; 对于 2019 年 4 月 16 日开始的版本,Oracle JDK 许可协议已更改,也...
最新版linux jdk-8u333-linux-x64.tar.gz最新版linux jdk-8u333-linux-x64.tar.gz最新版linux jdk-8u333-linux-x64.tar.gz
jdk7 jdk-7u80-linux-x64 网盘下载
jdk-8u40-linux-x64.rpm
jdk-8u202-linux-arm64-vfp-hflt.tar.gz适用于Linux ARM v6/v7 Soft Float ABI 64位系统,是在Binary Code License (“BCL”)许可协议下提供最后的免费商业版本,允许用在生产环境中; 对于 2019 年 4 月 16 日开始...
1.下载后重命名:jdk-8u281-linux-x64.tar.gz 2.解压 tar -zxvf jdk-8u281-linux-x64.tar.gz 3.配置环境变量:vim /etc/profile 最后添加: export JAVA_HOME=/opt/jdk export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$...
jdk-8u321-linux-aarch64.tar.gz
jdk-8u91-linux-x64.tar.gz java jdk-8u91 linux-x64 .tar.gz 截至2016.04.20 最新版JDK For Linux x64 gar.gz sha256: 6f9b516addfc22907787896517e400a62f35e0de4a7b4d864b26b61dbe1b7552 md5: 3f3d7d0cd70bfe0...
jdk-7u80-linux-x64.tar.gz jdk-7u80-linux-x64.tar.gz
jdk-6u14-linux-x64.bin
jdk-8u121-linux-x64.rpm 截至2017.02.22 最新版JDK For Linux x64 .rpm sha256: bd9f42e0725b32391c72f2800cdbb8a0c7db0ab2429b5f9e5bcf14b0090470a2 md5: de86e326f9fd98f080cd355081b4a3dc 大小:...
jdk-8u162-linux-x64.tar.gz.zip jdk-8u162-linux-x64.tar.gz.zip jdk-8u162-linux-x64.tar.gz.zip