Informix

 View Only

 Informix 15 installer not recognizing OpenJDK 11

Malcom Terry's profile image
Malcom Terry posted Thu April 24, 2025 05:51 PM

I'm try in install Informix server 15 on Windows 11. The installer (ids_install -gui) shows an error like "Could not fin a valid Java virtual machine to load." My env var JAVA_HOME is set to the install path for Java. 

Any hints on what the probalem may be?

Art Kagel's profile image
Art Kagel IBM Champion

Malcome:

Yes, I ran into the same issue. I upgraded from Java 11 to Java 21 (well I actually had v17 & v21 already installed, I just changed the path so that the installer saw the v21 Java) and was able to install. It's ikely that any release after v11 would work (I know that the readmes state that you need Java 8 or later, but there's something in the Java 11 that the installer does not like.

Art

Malcom Terry's profile image
Malcom Terry

The error still appeared after installing openJDK-21. However, it was installed under my Windows home directory, under .jdks folder. I moved jdk files to another location and the error did not appear. However, the installer just terminated without installing anything. The good news is that Art's solution fixed a similar issue when installing Informix server on Ubuntu.

UPDATE: The Windows installer ran after changing the command to ids_install -i gui. However, a new error appeared:

I entered somewhat complex passwords, so now I'm thinking it must be our IT not allowing creation of other users. I guess I will pusue the Linux version.