Presentation is loading. Please wait.

Presentation is loading. Please wait.

ECLIPSE NTHU CS340100 2010/04/22. Outline Eclipse Installation Edit/Compile/Run the Java programs Java Document Generator.

Similar presentations


Presentation on theme: "ECLIPSE NTHU CS340100 2010/04/22. Outline Eclipse Installation Edit/Compile/Run the Java programs Java Document Generator."— Presentation transcript:

1 ECLIPSE NTHU CS340100 2010/04/22

2 Outline Eclipse Installation Edit/Compile/Run the Java programs Java Document Generator

3 Download Eclipse http://www.eclipse.org

4 Download Eclipse 下載以後解壓縮就可以用了

5 Set Workspace Workspace 就是存放程式碼的位置

6 Set Workspace

7 Create A New Project Click « NEXT »

8 Create A New Project 增加額外的 JAR/Library/Class Click « Finish »

9 Create New Classes

10 自動產生 Class 程式碼 自動依照 Package 建立目錄結構 (Workspace)/JavaLab1/src/cs340100/lab1/

11 Trace Source Code Ctrl+Click 跳到 Class Shape 上一頁: Alt+← 下一頁: Alt+→

12 Compile and Run 新增一個 Java Application Run Configuration Double-click

13 Compile and Run main function 所在的 Class

14 Compile and Run Or Ctrl+F11

15 Debug 1. 在邊緣 Right click 2.Insert a breakpoint 3. 使用 Debugger

16 Debug

17 Java Document 指定 javadoc.exe 的位置,通常在 JDK 安裝目錄下

18 Java Document

19 Midterm


Download ppt "ECLIPSE NTHU CS340100 2010/04/22. Outline Eclipse Installation Edit/Compile/Run the Java programs Java Document Generator."

Similar presentations


Ads by Google