Home  >  Article  >  Java  >  JAVA entry system tutorial (2) Installing and using eclipse

JAVA entry system tutorial (2) Installing and using eclipse

php是最好的语言
php是最好的语言Original
2018-08-10 10:08:111894browse

Install and use eclipse

After downloading and installing eclipse--> Double-click eclipse-->Set the automatically saved workspaceJAVA entry system tutorial (2) Installing and using eclipse

After completion, we will enter eclipseJAVA entry system tutorial (2) Installing and using eclipse

##Click File --> new --> others --> Java Projeck

JAVA entry system tutorial (2) Installing and using eclipse

Set the project name after next

JAVA entry system tutorial (2) Installing and using eclipse

(Because I have created it before, the prompt here already exists)

Next we Let's complete the programming of Hello World through eclipse again

Right-click new under src --> others --> Package to create a package and set the name (usually the company domain name is written in reverse)

JAVA entry system tutorial (2) Installing and using eclipse

After completion, create a class under this package

Right click under the package--> new --> others --> class --> ; Enter the name

(The first letter of a single word is capitalized, the first letter of each word of multiple words is capitalized and there can be no spaces or symbols

)

JAVA entry system tutorial (2) Installing and using eclipse

After entering, we can start writing our HelloWorld

JAVA entry system tutorial (2) Installing and using eclipse

There will be no errors or warnings~ The next moment to witness the miracle~

We can run the program through F11 or

under the menu bar and right-click --> Run As --> Java Application

JAVA entry system tutorial (2) Installing and using eclipse

The operation is successful. Congratulations, you have entered the door of java development!

High-energy warning: A lot of important and boring grammar is coming~

#END

#Related articles:

JAVA entry system tutorial (1) Configuring JAVA development environment

###JAVA entry system tutorial (3) Basic syntax (1) )######

The above is the detailed content of JAVA entry system tutorial (2) Installing and using eclipse. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn