The JDK configuration dialog is displayed when you click the
[Configure JDKs] button in the general settings dialog,
the editor settings dialog or the
code editor session settings.
In this dialog, you can add one or more JDKs that will be available for the purposes explained on the script editor help page. |
When you add a new JDK, you are asked for the home directory of the JDK that you want to enter. Instead of
a JDK, you can also select a JRE, in which case no parameter names will be available in the code completion
proposals of JDK methods. After you select the home directory, JProfiler will check whether the directory
contains a JDK or JRE and runs java -version to determine the version of the
selected JDK or JRE.
The table that shows the configured JDKs has several columns:
When you delete the JDK configuration that is currently used by a session, the session will still reference the same configured name for the JDK. It will then be shown in red color with a [not configured] message attached. |
The default JDK for sessions that do not explicitly set a JDK in the can be configured in their code editor settings can be configured in the general settings. |