Configuring Java

Configuration for Java settings is managed through VS Code Settings.

Java Configuration

Selecting the Java Runtime

The IMS Explorer for VS Code extension scans the following locations, in order, for the first Java installation that is at least Version 21 and 64-Bit:

  1. ims.explorer.connection.property.javaHome
  2. java.jdt.ls.java.home
  3. JAVA_HOME environment variable
  4. System PATH
  5. Platform-specific discovery (e.g., /usr/libexec/java_home -V on macOS, where java.exe on Windows)

The methods at the end of this list require significant time as they execute programs on your system. To improve startup times, use VS Code user settings.

If Java cannot be located, open View > Output > IMS Explorer for VS Code for diagnostic messages. Set the JAVA_HOME environment variable or add an entry in your VS Code user settings.

Configuring JVM Arguments

JVM arguments for IMS connections are now configured using the ims.explorer.connection.property.jvmArgs setting instead of individual settings like maxHeapSize. See Configuring the Extension for details.