Difference between revisions of "User:Qinzhi"
Line 1: | Line 1: | ||
Basic Lab: | Basic Lab: | ||
− | 1. Preparing Eclipse 1)Goto Eclipse from http://www.eclipse.org. | + | 1. Preparing Eclipse |
− | + | 1)Goto Eclipse from http://www.eclipse.org. | |
− | + | 2)Choose Classic 3.6.0 and download it. | |
− | + | 3)Unzip eclipse to c:\eclipse\ide_java folder | |
− | + | 4)Doubleclick eclipse.exe in c:\eclipse\ide_java\eclipse | |
− | + | 5)Workspace type ./wksp/Basics/lab | |
− | |||
2. Creating your first Java project | 2. Creating your first Java project | ||
− | + | 1)In menu, click file->new->Java project. | |
− | 1) | + | 2)Project name type MyfirstPrj, click finish. |
− | 2)Project name type MyfirstPrj, click finish. | ||
− | |||
3. Browsing Java elements using the package explorer | 3. Browsing Java elements using the package explorer | ||
− | |||
4. Editing Java elements | 4. Editing Java elements | ||
− | |||
5. Creating a Java class | 5. Creating a Java class | ||
− | |||
6. Renaming Java elements | 6. Renaming Java elements | ||
− | |||
7. Moving and copying Java elements | 7. Moving and copying Java elements | ||
− | |||
8. Navigate to a Java element's declaration | 8. Navigate to a Java element's declaration | ||
− | |||
9. Viewing the type Hierarchy | 9. Viewing the type Hierarchy | ||
− | |||
10.Searching the workbench | 10.Searching the workbench | ||
− | |||
11.Running your programs | 11.Running your programs | ||
− | |||
12.Debugging your programs | 12.Debugging your programs | ||
− | |||
13.Evaluating expressions | 13.Evaluating expressions | ||
− | |||
14.Evaluating snippets | 14.Evaluating snippets | ||
− | |||
15.Using the Java browsing perspective | 15.Using the Java browsing perspective | ||
− | |||
16.Writing and running JUnit tests | 16.Writing and running JUnit tests |
Revision as of 17:24, 23 January 2011
Basic Lab:
1. Preparing Eclipse 1)Goto Eclipse from http://www.eclipse.org. 2)Choose Classic 3.6.0 and download it. 3)Unzip eclipse to c:\eclipse\ide_java folder 4)Doubleclick eclipse.exe in c:\eclipse\ide_java\eclipse 5)Workspace type ./wksp/Basics/lab 2. Creating your first Java project 1)In menu, click file->new->Java project. 2)Project name type MyfirstPrj, click finish. 3. Browsing Java elements using the package explorer 4. Editing Java elements 5. Creating a Java class 6. Renaming Java elements 7. Moving and copying Java elements 8. Navigate to a Java element's declaration 9. Viewing the type Hierarchy 10.Searching the workbench 11.Running your programs 12.Debugging your programs 13.Evaluating expressions 14.Evaluating snippets 15.Using the Java browsing perspective 16.Writing and running JUnit tests