Xubuntu learning summary (1): JDK installation process
Source: Internet
Author: User
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/is installed wherever it is stored. This article introduces/us... 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.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.