Configuration of JDK environment under Ubuntu15.10 system

Source: Internet
Author: User

Refer to an article Baidu experience: http://jingyan.baidu.com/article/eb9f7b6d8f82a6869364e8a7.html


When setting up the JDK environment, add the following lines at the end of the/etc/profile file:

Export Java_home=/usr/lib/jvm/jdk1.8.0_73export classpath= $CLASSPATH: $JAVA _home/libexport path= $PATH: $JAVA _home/ Bin
Where jdk1.8.0_73 is the JDK decompression package name extracted in the/USR/LIB/JVM folder


After the profile file is saved, log out of the Linux system to make it effective, log in to the Linux system, and enter the command in the terminal:

[Email protected]:~$ java-version

The following information appears:

Java version "1.8.0_73" Java (tm) SE Runtime Environment (build 1.8.0_73-b02) Java HotSpot (tm) 64-bit Server VM (Build 25.73- B02, Mixed mode)

Indicates that the JDK configuration was successful.

This article is from the "10628473" blog, please be sure to keep this source http://10638473.blog.51cto.com/10628473/1766484

Configuration of JDK environment under Ubuntu15.10 system

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.