Choosing the IDE's Default JDK

The IDE's default JDK is the Java platform on which it runs and the default target JDK for compiling, executing, parsing, and debugging programs.

To view your IDE's default JDK:

  1. Choose Help and choose About from the main window.
  2. Click the Detail tab. The Java field lists the default JDK.

To start the IDE with a different JDK, do one of the following:

Tip Various errors can occur if you work in the same user directory with different JDKs. You should therefore use a separate user directory for each JDK configuration in your IDE. You can start the IDE with a different user directory by using the -userdir switch on the command line or in your ide.cfg file.
See also
Cross-Compiling Between JDKs
Target JDK Configuration
Working With Assertions

Legal Notices