- Choose " File --> New --> Java project ".
- Fill " lu.ide.first " in Project name field.
- Make sure a option of " Create separate folders for sources and class file "is checked on Project layout.
- Press " Finish " button to create your first JAVA project.
New a Package
- Right click mouse on " src " folder.
- Choose New --> Package.
- And named " my.first ", click Finish.
New a Java class
- Right click mouse on just created Package that named " my.first ".
- Choose New --> Class.
- And fill " HellowJavaWorld " in Name field to create a new class.
- Don't forget check option " public static void main ( String [] args ) ", and press "Finish".
Reference Link: http://www.cc.ntu.edu.tw/chinese/epaper/0020/20120320_2003.html
沒有留言:
張貼留言