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

bundledVM value

Hello,

I need to know what is the bundledVM that is being used during the installation,
how can I do that?

Is there any installAnywhere variable that allows me to see the value of bundledVM?

Thanks, Anna.
Labels (1)
0 Kudos
(7) Replies
pv7721
Level 20

The bundled VM is you that you set in your installer, how come you don't know its value?
0 Kudos
AnnaSh
Level 3

Because I have the installer for several VM's so I would like to know in the middle of installation what VM is currently being used.
0 Kudos
pv7721
Level 20

It also depends on what you've set in the Valid VM list located in Project/Config, I guess. If for instance you've set ALL, then all depends on how the algorithm of finding a suitable VM works: I'm not sure if it'll always use the bundled VM or not...
0 Kudos
AnnaSh
Level 3

i'm building using ant,
and @{WhichVm} is SunJRE160_18Win64.vm or SunJRE160_18Win32_with_server.vm
so in the middle of installation i would like to know which is being used.


IALocation="C:\Program Files\InstallAnywhere 2009 Enterprise"
IAProjectFile="@{ProjectFile}"
BuildWindowsWithVM="false"
BuildWindowsWithoutVM="false"
OverrideAllPlatformSettings="false">


@{WhichWin}
false
true
@{WhichVm}


0 Kudos
pv7721
Level 20

As I've already said, which VM is used exactly depends on IA's proprietary algorithm of finding the best suitable VM. You could try and query the value of the
$JAVA_EXECUTABLE$  This is the path to the chosen Java executable. 
This variable is read-only.

variable, this should tell you the exact VM the installer has chosen.
0 Kudos
AnnaSh
Level 3

it only gives me jre\bin\java.exe

Any other options?
0 Kudos
pv7721
Level 20

That basically means that it uses the bundled VM. Try the value of this variable:
$JAVA_HOME$ This is the root of the Java installation. This variable is read-only.
0 Kudos