Java Intellij First Helloword

Source: Internet
Author: User

The closest point of focus is in Java, given some of the things that I don't know about getting started with small white. Therefore write down this article, in view of sharing.

(If the JDK is installed, the recommended version is 1.8)

JDK Installation Address: http://www.oracle.com/technetwork/java/javase/downloads/index.html

Environment variable Configuration reference: https://jingyan.baidu.com/article/6dad5075d1dc40a123e36ea3.html

Use of Ide:intellij,: https://www.jetbrains.com/idea/

Activation code Baidu Search by itself.

Don't say much nonsense start the first Java program.

1. Create a new Java project. Default what is not selected

2. Uncheck the template here

3. Project naming

Create a new Java file under the 4.src folder HelloWorld

5. Click Configuration, click on the upper left corner +, add application and configure the program to run the portal main Class, which was just written HelloWorld

6. SHIFT+F9 Debug Program SHIFT+F10 Run program, the following results appear.

Java Intellij First Helloword

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.