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

"Could not find a valid Java virtual machine" on VMWare

Recently, our installer has stopped working on a Windows OS host on VMware. We include JVM bundles with the installer. We have verified that the proper bundles are included with each installer generated. Our older installers work without a problem, and the new builds work fine in a normal Windows workstation environment. This is the message we get on the failure:

LaunchAnywhere Error
Could not find a valid Java virtual machine to load.
You may need to reinstall a supported Java virtual machine.

Is there any reason that this should fail this way? Is there any way to turn on any extra debugging information on why a valid virtual machine is not found?
Labels (1)
0 Kudos
(3) Replies
madhavbantwal
Level 6

Hi nbartley,

Can you tell me which architecture you'r running the installer.

Thanks,
Madhav Pai
0 Kudos
nbartley
Level 3

The architecture is x86 or x86_64
0 Kudos
nbartley
Level 3

Found the problem. In vm.properties, vm.exe.path was set to the directory that java.exe was in, but didn't point directly to java.exe. Once I added java.exe to the path, the installer works on VMware as well.
0 Kudos