Installanywhere Windows Error 2 Occurred While Loading The Java Vm
Contents |
2012 Windows error 2 when trying to start installer If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages,
Launchanywhere Error
select the forum that you want to visit from the selection below. Page 1 of 2 windows error 2 java vm nx 12 Last Jump to page: Results 1 to 5 of 7 Thread: Windows error 2 when trying to start installer Thread Tools Show Printable windows error 2 occurred while loading the java vm sap download manager Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 02-04-2014,11:07 AM #1 asorenson View Profile View Forum Posts New User (0 Posts) Join Date Aug 2007 Posts 3 Windows error 2 when trying https://www.ibm.com/developerworks/community/wikis/home/wiki/IBM%20TRIRIGA1/page/Troubleshooting%20CI%2012.1.2%20-%20'Windows%20error%202%20occurred%20while%20loading%20the%20Java%20VM'%20on%20Java%201.8.0_60%20and%20later to start installer InstallAnywhere 2012 Standard (Build 4390) Making an installer without VM. When launched on Windows 7 a LaunchAnywhere Error dialog pops up with the message "Windows error 2 occured while loading the Java VM" (BTW 'occurred' is spelled wrong.) The Environment Variable JAVA_HOME is set to C:\Program files\Java\jre7 If I use install.exe LAX_VM "C:\Program files\Java\jre7", it works a bit better in that instead of getting the error immediately, it waits until it reaches 100%. I tried adding %JAVA_HOME% to https://community.flexerasoftware.com/showthread.php?214384-Windows-error-2-when-trying-to-start-installer Project/JVM Settings/Windows tab/Search Path tab, but it did not help. What else can I try? Last edited by asorenson; 02-04-2014 at 11:47 AM. Reply With Quote 02-04-2014,12:28 PM #2 asorenson View Profile View Forum Posts New User (0 Posts) Join Date Aug 2007 Posts 3 Partial solution Ok, turns out I need to add C:\Program files\Java\jre7\bin to the system's Environment PATH variable, then the installer hums along. Instead of altering the environment, can this be handled in the installer setup? Reply With Quote 02-06-2014,05:42 AM #3 jyotsnas View Profile View Forum Posts New User (0 Posts) Join Date Feb 2014 Posts 3 Hello I think you can try adding the path ( C:\Program files\Java\jre7\bin) by declaring a varibale in Access Path Name under Edit > Preferences > Source Paths. Regards JSaroha Last edited by jyotsnas; 02-06-2014 at 05:51 AM. Reply With Quote 09-13-2015,12:32 PM #4 einelh View Profile View Forum Posts New User (0 Posts) Join Date Sep 2015 Posts 1 same problems I am not a computer wiz. can you give exact directions how to do that? installed once without problem, (unistalled because program didn't work) now I get error 2. have latest JAVA. thanks Reply With Quote 09-19-2015,09:07 PM #5 robfinley View Profile View Forum Posts New User (0 Posts) Join Date Sep 2015 Posts 1 I think I've spent an entire day trying to install lmadmin on my new home machine I spent an entire day trying to
error 2 occurs while loading the Java VM Article Name: WINDOWS3 OS Platforms: Windows Last Updated: 10/20/2015 TOPIC: This Tech Tip explains how to solve a problem where the RiverTools 4.0 installer does not complete the installation on Windows platforms that have Java VM version 1.8.0_60 installed. https://rivix.com/Tech_Tips/tech_tip_win3.php DISCUSSION: The RiverTools 4.0 installer was built using InstallAnywhere 2012, a Java-based, industry-standard program from Flexera for creating cross-platform installers. The installer first checks whether a Java Virtual Machine (VM), also called a Java Runtime Environment (RE), is available on the https://support.software.dell.com/jprobe/kb/34546 target computer. If not, it uses a Java VM that was bundled with the installer, version 1.7. However, there is a bug in InstallAnywhere 2012 that prevents it from working correctly with the Java VM version 1.8.0_60. This is due windows error to a change in how the Java VM file version is formatted, using a 3-digit number (e.g. 600) for Update 60 instead of a 2-digit number (e.g. 51), used in all prior versions of Java. Because of this, necessary paths are built incorrectly and necessary files are not found. This results in the following error message after the installer finishes its "preparing to install" phase: A variation of this problem is further documented on Flexera's website at: Installer windows error 2 Fails to Launch Using Java 8 Update 60 on Windows. There are a couple of work-arounds for resolving this problem. The first, and easiest, is to temporarily remove "javapath" from the Windows system environment variable called "PATH". This will prevent the installer from finding a Java VM on the target computer so that it will instead use the bundled Java VM, version 1.7. This can be done as follows: Step 1: Start Windows using an account that has Administrator privileges. Step 2: Open the Windows Control Panel. There are many different ways to do this, depending on whether you are using Windows 7 or Windows 8 and which mode. On Windows 8, moving your mouse cursor to the upper-right corner causes icons to appear on the right side of the screen. You can then click on the Search button (a magnifying glass), make sure Apps is selected, type control panel in the text box, then click on the Control Panel icon that appears. On Windows 7, click in the lower-left corner of the screen, then type control panel in the text box that is labeled Search programs and files. Step 3: In the Control Panel, choose System and Security, then choose System. Next click on Advanced System Settings on the left side of the dialog to open the System Properties dialog, with the Advanced tab selected. At the bottom right of this dialog, click on the button labeled: Environmen