Installation Environment:Installation Environment: CentOS-6.5 Installation Method: Source Installation
Installing the JDKSoftware: jdk-8u101-linux-x64.tar.gz
Files in/usr/yanghai extract to/usr/local/java extract files to/USR/LOCAL/JAVATAR-ZXVF jdk-8u101-linux-x64.tar.gz-c/usr/local/java Configuration: Edit profile with Vim/etc/profile
1 java_home=/usr/local/java/jdk1. 8 . 0_101 2 path= $JAVA _home/bin: $PATH3 classpath= $JAVA _home/jre/lib/ext: $JAVA _home/lib/ Tools.jar4 export PATH java_home CLASSPATH
Don't forget to execute the command: Source/etc/profile Verify that the installation was successful: Java-versionjavac-version appears with the version number, indicating installation OK. Reference: http://www.cnblogs.com/jilianggqq/p/4141641.html
These are the 16 have a period of time the installation process of the record, the recent collation of notes, put it here first! If there are errors, please correct me! Thanks
Installing the JDK in a Linux environment