This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: bundledVM value
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 10, 2010
11:27 AM
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.
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.
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 10, 2010
05:06 PM
The bundled VM is you that you set in your installer, how come you don't know its value?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 11, 2010
12:25 AM
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 11, 2010
01:06 AM
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...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 11, 2010
01:14 AM
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.
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}
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 11, 2010
01:37 AM
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
variable, this should tell you the exact VM the installer has chosen.
$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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 11, 2010
03:12 AM
it only gives me jre\bin\java.exe
Any other options?
Any other options?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 11, 2010
12:35 PM
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.