Controlling the Default Java Version Used by the IDE Server

The IDE Server requires Java SDK v 1.4.2-7 (or higher). 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, 150).  

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

Note  User processes that are started by the IDE Server also use this logical to choose the Java version. You must restart the IDE Server after changing the IDE$JDK_VERSION  logical name.


See Also   Setting the Java Source Version and
Unsupported Java version error after converting Java project to remote project