Java Version for Informix Installation
Posted in 2026
Daniel Karwatka reported that Informix 14.10.FC11WE licence installation needs Java 8 while fix packs 14.10.12 and 14.10.13 need Java 11. Tatiana Flores asked how to select Java 11 for ids_install; Jiri Jansky said to pass the LAX_VM option with the java path, and Daniel described switching Java via a symlink. LAX_VM worked for Tatiana.
Topics: Installation, Setup & Upgrades, Licensing & Editions, Java & JDBC Development, Versions, Editions & End-of-Life
Just an FYI for which java versions to use. It's a bit frustrating having to reinstall java 8 just to get the licensing installed (also a waste of time to figure out). IBM Informix Dynamic Server Version 14.10.FC11WE you can use Java 11 or 8 IBM Informix Dynamic Server Version 14.10.FC11WE License must use Java 8. Using Java 11 install fails with Error: An unexpected error occurred while trying to open file we_edition.jar Fix packs 14.10.12 and 14.10.13 must use Java 11 ------------------------------ Daniel Karwatka ------------------------------
Hello Daniel... I'm facing with that about informix 14.10.FC13 installation... I want to update from informix1410FC11 to 1410FC13 but I don't know how to specify in the ids_install the JAVA_HOME to point java11 without desinstall java 8 because 1410FC11 is using it... do you know how to specify the path? ------------------------------ Tatiana Flores ------------------------------
export the java path into PATH environment variable, then use java -version to verify ------------------------------ ke chen ------------------------------
It does depend upon the your Java installation. Some OS versions will allow the installation of multiple different java versions and they have a command that will point to your default version. If you install your own version of Java like the Zulu OpenJDK from Azul, you can install multiple versions in /opt and then create a symbolic file link to point to the version you want to use. Steps: Set JAVA_HOME, install your java versions, create link to the version you need. Example: Set JAVA_HOME to /opt/java. Install zulu8.90.0.19-ca-jdk8.0.472-linux_x64 and zulu11.84.17-ca-jdk11.0.29-linux_x64 To link to Java8 run: ln -s /opt/zulu8.90.0.19-ca-jdk8.0.472-linux_x64 /opt/java To link to Java11 run: ln -s /opt/zulu11.84.17-ca-jdk11.0.29-linux_x64 /opt/java ls -al /opt (shows link to java 11) lrwxrwxrwx 1 root root 36 Jan 20 14:37 java -> zulu11.84.17-ca-jdk11.0.29-linux_x64/ drwxr-xr-x 1 root root 146 Oct 4 2025 zulu11.84.17-ca-jdk11.0.29-linux_x64/ drwxr-xr-x 1 root root 236 Oct 4 2025 zulu8.90.0.19-ca-jdk8.0.472-linux_x64/ As you install different versions of OpenJDK you only need to change the link to point to the newer version. Note: You may need to recompile custom UDRs after changing the java version on a running system. ------------------------------ Daniel Karwatka ------------------------------
Hello Tatiana, You can run ids installation command with LAX_VM option where you need to provide path to your java jre, e.g. /home/informix/inst/ids_i nstall LAX_VM /home/informix/j ava/jdk-11.0.30+7-jre/bin/java BR Jiri
Very thanks. It works fine! ------------------------------ Tatiana Flores ------------------------------