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
- :
- Windows error 2 occured while loading the Java VM - Install Anywhere
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
‎Oct 13, 2015
12:30 PM
Windows error 2 occured while loading the Java VM - Install Anywhere
Hi ,
We are not able to proceed with the installer created with InstallAnywhere 2012 , with java 1.8 , 60 version.
While staring the installer it throws the alert message "Windows error 2 occured while loading the Java VM "
Java is installed in my system and I am able to run other applications .
Please suggest what can be done to resolve the issue.
Thanks,
Smitha
We are not able to proceed with the installer created with InstallAnywhere 2012 , with java 1.8 , 60 version.
While staring the installer it throws the alert message "Windows error 2 occured while loading the Java VM "
Java is installed in my system and I am able to run other applications .
Please suggest what can be done to resolve the issue.
Thanks,
Smitha
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 14, 2015
12:57 AM
Hi Smitha,
Verify that you are not installing 64 bit application on 32 bit OS or 64 bit jre on 32 bit OS. Sometimes errors that are thrown are not really helpful but even I have faced such issue. Verify whether System and jre architecture are same.
Thanks
Verify that you are not installing 64 bit application on 32 bit OS or 64 bit jre on 32 bit OS. Sometimes errors that are thrown are not really helpful but even I have faced such issue. Verify whether System and jre architecture are same.
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2015
04:35 PM
Hi Karthik,
We are using the correct bit java .
I zeroed down on the problem, the way to resolve it is :
The System Environment Path now has : c:\programdata\oracle\java\javapath
This path has shortcuts to the JRE bins
However if I remove this path and add the actual JRE bin then it works.
I cannot figure out why it does not work for the shortcut. There is no issue if I uninstall and install an earlier version of Java.
Can you help me with the issue.
Thanks,
Smitha Rajasenan
We are using the correct bit java .
I zeroed down on the problem, the way to resolve it is :
The System Environment Path now has : c:\programdata\oracle\java\javapath
This path has shortcuts to the JRE bins
However if I remove this path and add the actual JRE bin then it works.
I cannot figure out why it does not work for the shortcut. There is no issue if I uninstall and install an earlier version of Java.
Can you help me with the issue.
Thanks,
Smitha Rajasenan
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 20, 2015
10:39 AM
SmithaSant wrote:
Hi Karthik,
We are using the correct bit java .
I zeroed down on the problem, the way to resolve it is :
The System Environment Path now has : c:\programdata\oracle\java\javapath
This path has shortcuts to the JRE bins
However if I remove this path and add the actual JRE bin then it works.
I cannot figure out why it does not work for the shortcut. There is no issue if I uninstall and install an earlier version of Java.
Can you help me with the issue.
Thanks,
Smitha Rajasenan
Hi Smitha,
Normally installAnywhere looks for valid jvm.dll file in jre path under bin/server or bin/client or bin/classic (in case of IBM jre). If it doesn't find it, the installation will not proceed. Avoid using shortcuts in path environment variable.
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 04, 2016
12:01 PM
karthik.bs84 wrote:
Hi Smitha,
Normally installAnywhere looks for valid jvm.dll file in jre path under bin/server or bin/client or bin/classic (in case of IBM jre). If it doesn't find it, the installation will not proceed. Avoid using shortcuts in path environment variable.
Thanks
Karthik,
The path to the shortcut is added to the system variable when we install Java 8.
And I tried renaming the shortcut to something else instead of java.exe but still it doesnt work..
The only solution is to remove "c:\programdata\oracle\java\javapath" from the path variable.
Not sure why the launcher is stuck with this folder.
Regards,
Kapil
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)