The Java Runtime Environment (JRE) is used to compile and run your projects in the Developer Studio.
For applications that are deployed on a server, the JRE version of the Developer Studio (Designtime) has to match the Java VM version your server is running with (Runtime). Common JRE related tasks in the Developer Studio are:
1. Choose the command Window → Preferences → Java → Installed JREs.
2. Choose Add…
3. Specify the type of the installed JRE and choose Next.
4. In the JRE name input field provide a name for the JRE you are adding.
5. Choose Browse… to select the root folder of the JRE.
6. Choose OK to finish the procedure.
The JRE is loaded and the Installed JREs dialog window is displayed again.
7. To activate the added JRE activate the checkbox next to the added JRE.
Compiler options allow you to define JDK compliance levels. So you can use for example a Java SE 6 version to compile the sources Java 1.4 compliant.
...
1. Choose the command Window → Preferences → Java → Compiler.
2. Adjust the Compiler compliance level.
3. Optional: Check the other options in the dialog window and adjust if necessary.
4. Choose OK to finish the procedure.
The projects on your workbench are rebuilt automatically.
You can set compiler options for a project with the following steps:
...
1. Choose the project in the Package Explorer with the right mouse button.
2. Choose Properties in the context menu.
3. Enable checkbox Enable project specific settings.
4. Adjust the settings accordingly.
5. Choose OK to finish the procedure.
The project is rebuilt automatically.