Jdk1.6.0 _ 04 Installation In debian

Source: Internet
Author: User
Install JDK 1.6.0 _ 04 In debian-Debian Technology for Linux release-details are as follows. Download jdk1.6.0_04at http://java.sun.com/javase/downloads/index.jsp.

My system is debian amd64

So download is jdk-6u4-linux-x64.bin this is self-decompressed package, will release all the jdk files to a folder

The folder name is jdk1.6.0 _ 04.

$ Mv jdk1.6.0 _ 04-t/usr/java/

In this way, the java file is installed.

Configure the environment variables as follows:
Export JAVA_HOME =/usr/java/jdk1.6.0 _ 04
Export PATH = $ JAVA_HOME/bin: $ PATH
Export CLASSPATH = $ JAVA_HOME/lib/tools. jar: $ JAVA_HOME/lib/dt. jar: $ CLASSPATH

Test whether you are installed correctly.
$ Java-version
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.