Configuring Runtime Settings

To enable a specific JDK version for a project:

  1. Click Tools > System Settings. The System Settings dialog box opens.
  2. Click Add next to the Target JDK list box and browse for the Java Home Directory. For example, the Sun JDK version 1.4 might be installed under C:\j2sdk1.4.2_04. The IBM JDK version might be installed under C:\WebSphere\AppServer\java.
  3. Click OK. You can now select the added JDK version from any project.
  4. Click Tools > Project Settings. The Runtime tab of the Project Settings dialog box opens.
  5. Select the JDK from the Assigned Runtime list box.
  6. Click OK. The Java Runtime is now assigned to the current project.
Note: When you change the active JDK, the runtime process is restarted. Perform an animated run to update the objects in the runtime.