Java Development Environment Installation process

Source: Internet
Author: User

IntelliJ Idea Installation
    • Download
    • Configure proxy information

JDK Installation
    • Install Jdk,cmd-Java-version to see if Java version information is installed successfully displays version information

  

    • Configure environment variable Path,classpath, advanced system settings, properties---

Add environment variable Java_home

Variable name Java_home

Variable Value C:\Program files\java\jdk1.7.0_67

Modify the environment variable Path

Variable name Path

Variable value (append)%java_home%\bin;%java_home%\jre\bin;

Add environment variable CLASSPATH

Variable name CLASSPATH

The value of the variable.; %java_home%\lib;%java_home%\lib\tools.jar

    • Verify that the installation is successful

Create a new text file HelloWorld in the C drive and enter the following:

 Public class helloworld{    publicstaticvoid  main (String args[]) {        System.out.println ("Hello world!" );         } }

Modified file suffix HelloWorld.txt-Helloworld.java

Execute the following command

1) CD c \ Navigate to File path

2) Javac Helloworld.java compile file

3) Java HelloWorld execute compiled files

Hello world! To output the result

Then we think has been configured successfully!

MAVEN Installation
    • Download the appropriate MAVEN version from the official website
    • Configuring Environment Variables Maven_home Path

Add environment variable Maven_home (MAVEN path with bin, conf folder below the path)

Variable name Maven_home

Variable Value C:\Program files\java\apache-maven-3.2.5

Cmd->%maven_home% Viewing configuration information

Modify the environment variable Path

Variable name Path

Variable value (append)%maven_home%\bin;

Cmd->echo%Path%

   

View Configuration Results

Cmd->mvn-v

    • Configuring MAVEN information in IntelliJ idea

    

Java Development Environment Installation process

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.