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
- :
- Installer not working on windows machine which doesnt have JAVA
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
‎May 12, 2009
02:21 AM
Installer not working on windows machine which doesnt have JAVA
Hi All
My "With JVM" installer is not working on machines which doesn't have any JAVA installed on their system.I get a LaunchAnywhere Error which says that..
"Could not find a valid Java virtual machine to load.You may need to reinstall a supported Java virtual machine."
I am bundling JRE1.6.0_12 with my installers.
Can anyone please help.
My "With JVM" installer is not working on machines which doesn't have any JAVA installed on their system.I get a LaunchAnywhere Error which says that..
"Could not find a valid Java virtual machine to load.You may need to reinstall a supported Java virtual machine."
I am bundling JRE1.6.0_12 with my installers.
Can anyone please help.
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 12, 2009
05:19 AM
In this case I suggest you look at the condition for the use of the Java you've bundled, most likely it doesn't match the version you bundled (and would explain why your installer works on machines that already have a JVM installed, your installer uses those versions instead of the version you bundled).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 22, 2009
03:44 AM
pv7721 wrote:
In this case I suggest you look at the condition for the use of the Java you've bundled, most likely it doesn't match the version you bundled (and would explain why your installer works on machines that already have a JVM installed, your installer uses those versions instead of the version you bundled).
Well it worked.VM packed was not proper.Thanks alot Vlad.
-Vikram
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 02, 2009
01:43 PM
Is there any way I can explicitely specify a new jre directory path to installer, if bundled vm pack is not proper?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 03, 2009
03:38 AM
You choose for the installer the JVM it will run against. If, for instance, you set it to ALL, it'll try any available JVM if the one bundled fails... but then again I don't think it looks too good for an end-user if it downloads a big installer which has a bundled JVM only to find out they will need to download and install a JVM in order to install your setup (assuming the worse possible scenario: the bundled JVM won't work and no JVM is installed on the target machine).
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2010
08:39 PM
Hi Vlad,
How can I use a custom message instead of "Could not find a valid Java virtual machine to load. You may need to reinstall a supported Java virtual machine."??
Is there a way to show a custom message in the Installer Launcher screen if the required JVM is not present in the system??
The reason for this is because we want to display a message telling the user what JVM version needs to install, as well offer a link to download it, that will be much better than the horrible "LaunchAnywhere Error" dialog, or Bundling a JVM that increases around 30 mb the installer (the non-installer files are only 3 mb, so including JVM is not a good deal).
I tried several things like including lax.nl.message.vm.not.loaded= var into Project>Config>Additiona Arguments, as well extracting the compiled installer and modifying /installer/windows/installer.lax file with no luck.
Thanks
How can I use a custom message instead of "Could not find a valid Java virtual machine to load. You may need to reinstall a supported Java virtual machine."??
Is there a way to show a custom message in the Installer Launcher screen if the required JVM is not present in the system??
The reason for this is because we want to display a message telling the user what JVM version needs to install, as well offer a link to download it, that will be much better than the horrible "LaunchAnywhere Error" dialog, or Bundling a JVM that increases around 30 mb the installer (the non-installer files are only 3 mb, so including JVM is not a good deal).
I tried several things like including lax.nl.message.vm.not.loaded= var into Project>Config>Additiona Arguments, as well extracting the compiled installer and modifying /installer/windows/installer.lax file with no luck.
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 18, 2010
03:36 AM
I think this is a built-in message and might not be changed. Again, the proper solution to this problem is to bundle the exact VM version your application needs, thus giving the end-user the smoothest possible installation process.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 18, 2010
08:07 PM
Ok, then I'll try to create a custom (reduced) VM to include it in our installers.
Thanks.
Thanks.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)