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: Using JVM from file system?
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
‎Apr 08, 2010
08:23 AM
Using JVM from file system?
Hello,
I have a main setup that has a bundled JVM. Now I've developed a separate Patch Installer that doesn't have a bundled JVM. Now I want to use the previously installed JVM from the main application, which is located in $USER_INSTALL_DIR$\system\jre (to reduce the installer size). That jre has no entries in the Windows registry. How can I do that? At the moment, when I launch my patch installer, without a installed jre, the installer aborts with a message, that no jvm could be found. I hope you can help me, because Its' very critical for me.
I have a main setup that has a bundled JVM. Now I've developed a separate Patch Installer that doesn't have a bundled JVM. Now I want to use the previously installed JVM from the main application, which is located in $USER_INSTALL_DIR$\system\jre (to reduce the installer size). That jre has no entries in the Windows registry. How can I do that? At the moment, when I launch my patch installer, without a installed jre, the installer aborts with a message, that no jvm could be found. I hope you can help me, because Its' very critical for me.
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 08, 2010
04:24 PM
If the main installer's JVM was not declared a public one (i.e. if not only the installed application was to use it) (yourself you said that there is no record of it in the registry) I'm afraid that there isn't much you can do: you need to bundle a JVM in order to have it work (you may want to use an older JVM like 1.4 and have it only at the install time (but then your uninstaller won't work).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 09, 2010
01:25 AM
That means, that InstallAnywhere can only use JREs, that were installed with the sun-java installer for windows (to set entries into windows registry)?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 09, 2010
06:30 AM
It can also use already installed JVMs, but only if they had been declared as shared components... the only drawback to this approach being, as I've already said it, if you uninstall the application that installed the shared JVM, all installers that relied on it afterwads created uninstallers that won't work anymore...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 16, 2010
08:53 AM
Thanks for your help. For now I used the LAX_VM option. I've build a SFX with 7zip, that launches my setup, using the LAX_VM argument.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2010
02:35 AM
In case you didn't know, in the IA Advanced Designer, in the Build/Distribution tab you have the option to build Web Installers, which produce self-extracting setups (thus eliminating the need to rebuild a SFX from a CD-ROM installer).