Determining the JRE System Library

These instructions are for Eclipse Mars (which is installed on the PCs in KEC 119 and KEC 123). The instructions will be similar for Luna, Neon, and Oxygen - but there might be some slight differences.

The labs have been configured to use Java jdk1.8.0_51, which is installed on the PC’s in both KEC 119 and KEC 123. It is possibe that the configuration you are using on your own PC, or even on a lab PC could vary such that jdk1.8.0_51 can not be found. The instructions below will help you establish the proper JRE System Libraries for the labs for CS320.

If you are using an older version of the JRE System Library, you might need to change the default JRE System Library version to a later version in order to get CS320_Lab02 to work. A JRE System Library version of jre1.8.0_51 or later should work fine - choose the latest version available.

In KEC 123, there are two versions of the JRE System Library: 1.8.0_51 and 1.8.0_111. You can specifiy either version - but your lab solution might not work in KEC 119, if you don’t select 1.8.0_51.

Changing the JRE System Library

On the other hand, if the JRE System Library is “unbound”, you will likely need to switch to a compatible library.

Go to C:/Program Files/Java and look for a JDK folder labelled jdk1.8.0_51. Hopefully, you have one of those installed in the Java folder. For the lab PCs, there can be multiple versions: jdk1.8.0_51 and jre1.8.0_111. If a compatible version is present, then do the following:

Installing a new JDK from Oracle

If you do not find an acceptable JDK installed on your computer, you’ll have to install one from this location:

Oracle Java SE 8 Downloads

Create a free Oracle account and then download and install the appropriate version for your Eclipse/java installation - the 64-bit version will show up in C:/Program Files/Java, and then you can select it as described above.

Other Issues

There are some other issues that have been popping up with CS320_Lab02.