Xubuntu learning Summary (1): JDK Installation Process (1) download the JDK version jdk-6u41-linux-i586.bin on the sun official website (2) copy the jdk-6u41-linux-i586.bin file to the desired place, for example,/usr/java/, where it is to be installed, this article is to your own/usr/java/; www.2cto.com (3) Under the/usr/java/directory, first assign the permission: chmod 755 jdk-6u41-linux-i586.bin, then execute :. /jdk-6u41-linux-i586.bin. Then install JDK. (4) configure the JDK environment variables. Enter the: vim/etc/profile command on the terminal, and then enter G to move it to the end of the file and write: JAVA_HOME =/usr/java/jdk1.6.0 _ 41 CLASSPATH =.: JAVA_HOME/lib/tools. jar: $ JAVA_HOME/lib/dt. jarPATH = $ JAVA_HOME/bin: $ PATHexport JAVA_HOME classpath path www.2cto.com (Note: configuration error is not allowed) (5) enter the command source/etc/profile at the end. (6) Enter java to check whether the configuration is successful.