Working with Eclipse Basics 2

Now that you have Eclipse installed and tried running a sample Hello World Java program using Eclipse.
In this post we would go through more about working with eclipse  in detail.

Verifying JRE installation in Eclipse:

Select menu Window > Preferences.  Goto the installed JREs preference page Java > Installed JREs preference page to display the installed Java Run-time Environments.

By default, the JRE used to run the workbench will be used to build and run Java programs. It should appear with a check-mark in the list of installed JREs.

I 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.

Browse Project explorer:

In this section, you will browse Java elements within the project.
In the Project Explorer view, make sure the project and the source folder are expanded so you can see the packages. Expand the package to see the Java files contained in the package.

Closing unwanted Projects in Eclipse:

Working on multiple projects and confused about files open in Project Explorer ?

When working with multiple projects you may get distracted with files on other projects open in Project Explorer. You can close the other projects in Project explorer and concentrate only on present working project. You can close the unwanted projects by Right click and close the project.

Close unrelated projects in eclipse as shown below:



Sometimes if your project is huge it may take some time for eclipse to close the project. You may choose to run the task in the background and continue working on the present project.




Un-install /Update  Software Details in Eclipse:

To check and /or un-install/update software already installed in Eclipse you can go to Window > Preferences > Install/Update as shown in the below screen:



Pick the software you want to uninstall or update and follow the wizard.

Related Posts