isCOBOL uses the JDK and JRE locations defined in:
$ISCOBOL/bin/default_java.conf
This file is created during installation and is read each time an isCOBOL wrapper script is executed. If you want isCOBOL to use a different Java installation, update the paths in this file.
Compiler Wrapper
The iscc compiler wrapper uses the following search order when locating the JDK:
When javac is located through the PATH, the wrapper follows any symbolic links and derives the JDK location from the physical installation directory.
If a JDK cannot be located, the compiler reports an error and terminates.
All other Wrappers
All wrappers except the compiler use the following search order when locating Java:
When Java is located through the PATH, the wrapper follows any symbolic links to determine the physical installation directory. If a valid Java runtime cannot be found, the wrapper reports an error and terminates.
Finding the System’s Default Java
To identify the default Java compiler and runtime executables on your system, run:
type javac
type java
These commands display the location of the java compiler and runtime executables currently found on the PATH. If the executables are a symbolic link, follow the link chain to determine the physical installation directory.
To display the Java version, run:
java -version
Article ID: 91
Created: September 2, 2009
Last Updated: November 17, 2026
Author: Support KB Author
Online URL: https://support.veryant.com/phpkb/article.php?id=91