"Day01" "Environment" Java Development environment construction

Source: Internet
Author: User

1. Install Ubuntu 17.10 Virtual Machine 2. Installing the JDK

JDK Latest Version: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

This is jdk1.8.0_151 I installed here.

Su

Enter the root password

mkdir/usr/java8u151/

Copy the compressed package to this path

sudo tar zxvf jdk-8u151-linux-x64.tar.gz

The following directory is generated:

/usr/java8u151/jdk1.8.0_151

sudo vi ~/.BASHRC

Add the following content

# Added on 20171213 for install JDK
Export java_home=/usr/java8u151/jdk1.8.0_151
Export JRE_HOME=${JAVA_HOME}/JRE
Export Classpath=.:${java_home}/lib:${jre_home}/lib
Export Path=${java_home}/bin: $PATH

wq! Save exit

SOURCE ~/.BASHRC

Effective configuration

Echo $JAVA _home

Output /usr/java8u151/jdk1.8.0_151

Java-version

[Email protected]:/usr/java8u151/jdk1.8.0_151$ java-version
Java Version "1.8.0_151"
Java (TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot (TM) 64-bit Server VM (build 25.151-b12, Mixed mode)

The instructions are in effect successfully

3. Download IntelliJ idea

Address: http://www.jetbrains.com/idea/download/#section =linux

4. Activation after installation

1. Go to the website http://idea.lanyus.com/to obtain the registration code.

2. Fill in the following license server:

http://intellij.mandroid.cn/
http://idea.imsxm.com/
http://idea.iteblog.com/key.php

All of these methods can be verified

"Day01" "Environment" Java Development environment construction

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.