php    php100   android
當前位置:首頁 » Eclipse教學 »

Eclipse - 運行程序 評論   編輯

Running a Java Program

The quickest way to run a Java program is to using the Package Explorer view.

In the Package Explorer view:

  • Right click on the java class that contains the main method
  • Select Run As > Java Application

The same action can be performed using the Package Explorer view by selecting the class that contains the main method and pressing Alt + Shift + X, J

Either actions mentioned above create a new Run Configuration and use it to start the Java application.

If a Run configuration has already been created you can use it to start the Java application by selecting Run Configurations from the Run menu, clicking on the name of the run configuration and then clicking on the Run button.

Eclipse - 運行程序

The Run menu item on the Run menu can be used to restart the java application that was previously started.

Eclipse - 運行程序

The shortcut key to launch the previously launched Java application is Ctrl + F11.

貢獻/合作者

正在開放中...
 

評論(0條)

  • 還冇有評論!