Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 3

Installed bundled JVM not upgraded properly on Upgrade install

Our previous release of my product uses an Java 1.8 embedded vm and we installed it.

Our new version in development we are embedding a Java 17 vm we created.

When I run the installer to upgrade my product to the new version it is just adding the Java 17 files on top of the existing in jre directory.  So it ends up with Java 8 and Java 17 files in the jre directoy.   And this java won't run. 


For example I get an error like this

C:\Program Files\myproduct_installation\jre\bin>java -version
JVMJ9VM149E <JAVA_HOME>/lib/ext is no longer supported. Please add the required libraries/jar files to the classpath.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.


Is there a way to specify that it needs to remove the old jre and put install the new one?  Any other ideas?

I didn't see anything on the JVM Settings tab.



0 Kudos
(3) Replies

Didn't seem to work.    Still investigating.   Anyone have any thoughts?

Level 3

Reading the doc , it seems to imply that this option is for an Upgrade installer.   We are doing overinstall and not  a Upgrade installer.    So I believe that is what is going on here and I will have to manage removing the jvm folder during install phase so that IA can then lay down the new bundled jvm later.

0 Kudos