http: share.vrs.sohu.com my v.swf&topBar=1&id=53510782&autoplay=false&from=page - longkai/lab.newgxu.cn GitHub Wiki
Java development user guide > Getting Started > Basic tutorial Preparing Eclipse In this section, you will verify that Eclipse is properly set up for Java development.
The following is assumed:
You are starting with a new Eclipse installation with default settings. You are familiar with the basic Eclipse workbench mechanisms, such as views and perspectives. If you're not familiar with the basic workbench mechanisms, please see the Getting Started chapter of the Workbench User Guide.
Verifying JRE installation and classpath variables If you still see the Eclipse Welcome page, click the arrow icon to begin using Eclipse. Select the menu item Window > Preferences... to open the workbench preferences. Select the Java > Installed JREs preference page to display the installed Java Runtime Environments. Confirm that a JRE has been detected. By default, the JRE used to run the workbench will be used to build and run Java programs. It should appear with a checkmark in the list of installed JREs. We recommend that you use a Java SDK instead of a JRE. An SDK is designed for development and contains the source code for the Java library, easing debugging. Additional SDKs can be added by searching the hard drive for installed SDKs. To do so, simply click the Search... button and specify a root folder for the search.