Controlling the Default Java Version Used by the IDE Server

The IDE Server requires Java SDK version 1.4.2-4P2 (or higher) on OpenVMS Alpha or v 1.4.2-1 (or higher) on OpenVMS I64. By default, the IDE Server assumes that Java v 1.4.2 is installed on the system, and the server attempts to use that version of the SDK.

To force the server to use a particular version of the SDK, define the logical IDE$JDK_VERSION to a three-digit version number of the SDK you want to use (for example, 142 or 150).  You can also define IDE$JDK_HOME to point to the top level directory that contains the OpenVMS SDK distribution you want to use.  If you define both logical names, IDE$JDK_VERSION  takes precedence.

For example, entering either of the following commands causes the IDE Server to be started using the SDK (in this case, v 1.5.0) contained in the tree whose root is SYS$COMMON:[JAVA$150]:

  $ DEFINE IDE$JDK_VERSION 150
  $ DEFINE IDE$JDK_HOME SYS$COMMON:[JAVA$150]

Note  User processes that are started by the IDE Server also use these logicals to choose the Java version. You must restart the IDE Server after changing the IDE$JDK_VERSION or IDE$JDK_HOME  logical names.