Java - Eclipse use

From there using IDE ~

①File → New → Java Project → fill in the project name, select jdk version, other defaults, click finish.

 

 

② in the Src (source files) Right → new → package (package) → Fill in Name (in reverse order with the company's Web site is customary: com.jiang.java), click finish.

 

 

③ right on the package name → new → class → fill in the class name, other defaults, click finish.

 

 

 

 ④ write code

[Main] hit the shortcut keys main press alt + /

Run: blank right mouse button → Run As → Java Application

【supplement】

Font:

Windows→ Preferences→ General→ Appearance→ Colors and Fonts →Java Editor Text Font

Guess you like

Origin www.cnblogs.com/superjishere/p/11780483.html