Tuesday 18 October 2011

Adding JRE in Eclipse

If you have multiple JREs installed on you system you can add all of them in Eclipse following these steps:

1. Open Window > Preferences


2. Go to Java > Installed JRE section. This section lists all the JREs that are currently added in eclipse.



3. Click on Search button and select the root directory in which your JRE/JDKs are installed. I'm using Ubuntu 11.10 and all the JDK/JRE that I'm using are installed in /usr/lib/jvm, hence I chose this directory as root to reduce search time.

After search completes all the JRE found will be listed in screen.


4. Select the default JRE by clicking on the check-box next to it in the list and click OK button.
You can also add individual JRE by clicking the Add button and following the on-screen instructions.

No comments:

Post a Comment