Error 2 Java
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Sun, 09 Oct 2016 04:12:36 GMT by s_ac5 (squid/3.5.20)
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
Windows Error 2 Occurred While Loading The Java Vm Windows 7
installation on Windows platforms that have Java VM version 1.8.0_60 installed. DISCUSSION: The RiverTools windows error 2 occurred while loading the java vm windows 10 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 how to fix windows error 2 occurred while loading the java vm whether a Java Virtual Machine (VM), also called a Java Runtime Environment (RE), is available on the target computer. If not, it uses a Java VM that was bundled with the installer, version 1.7. http://answers.microsoft.com/en-us/windows/forum/windows8_1-update/launchanywhere-error-windows-error-2-occured-while/9853d01d-d85b-41d0-af23-e9965140fc69 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 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 https://rivix.com/Tech_Tips/tech_tip_win3.php 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 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 cor
2012 Windows error 2 occured while loading the Java VM - Install Anywhere If this is your first visit, be sure to check out the FAQ by clicking the link above. You may https://community.flexerasoftware.com/showthread.php?219501-Windows-error-2-occured-while-loading-the-Java-VM-Install-Anywhere have to register before you can post: click the register link above to proceed. https://coderanch.com/t/656707/java/java/Windows-error-occured-loading-Java To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 5 of 5 Thread: Windows error 2 occured while loading the Java VM - Install Anywhere Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded error 2 Mode 10-13-2015,12:30 PM #1 SmithaSant View Profile View Forum Posts New User (0 Posts) Join Date Oct 2015 Posts 2 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 windows error 2 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 Reply With Quote 10-14-2015,12:57 AM #2 karthik.bs84 View Profile View Forum Posts New User (0 Posts) Join Date Aug 2015 Posts 6 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 Reply With Quote 10-16-2015,04:35 PM #3 SmithaSant View Profile View Forum Posts New User (0 Posts) Join Date Oct 2015 Posts 2 Windows error 2 occured while loading the Java VM 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. Th
This Site Careers Other all forums Forum: Features new in Java 8 Windows error 2 occured while loading the Java VM " while installing Smita Sant Greenhorn Posts: 9 posted 11 months ago I am using Flexera Install Anywhere to create an Exe . Java is installed in my system and I am able to run other applications . However with Java 1.8 60 version , it throws an error "Windows error 2 occured while loading the Java VM " while installing . This works with earlier versions of java. 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 path to "PATH" in System Environment variable 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. Paul Clapham Sheriff Posts: 21440 33 I like... posted 11 months ago I'm pretty sure that "windows error 2" means "windows can't find the executable". Which probably means that your shortcuts to the JRE binaries were pointing to old versions which were removed when Java 8 was installed. Rob Spoor Sheriff Posts: 20678 65 I like... posted 11 months ago Paul Clapham wrote:I'm pretty sure that "windows error 2" means "windows can't find the executable". Confirmed. Error code 2 is ERROR_FILE_NOT_FOUND / "The system cannot find the file specified." SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6 How To Ask Questions How To Answer Questions Smita Sant Greenhorn Posts: 9 posted 11 months ago I checked the shortcut paths , here is what I found . c:\ProgramData\Oracle\Java\javapath has : 10/15/2015 10:15 AM