Community Forums
Page 2 of 2 FirstFirst 12
Results 6 to 7 of 7

Thread: Windows error 2 when trying to start installer

  1. #6
    Join Date
    Sep 2015

    I have problem with installed program on Windows and Java 1.8.0_60. After double click on installation file I receive "Windows error 2 occurred while loading the Java VM" information,

    Installer works perfect for each older version Java, than Java 1.8.0_60.

    I found two workaround for this case. First is remove 'C:\ProgramData\Oracle\Java\javapath' path from PATH System Variable. Second is run installation file from command console with parameter LAX_VM (example: installer.exe LAX_VM "C:\Program Files\java\jdk1.8.0_60\bin\java.exe").

    Any above workaround satisfied me - I need to have normal work installer through double click (without modifying PATH Variable) with Java 1.8.0_60.

    Have you any idea how to solve this problem?


  2. #7
    Join Date
    Nov 2015

    Windows error 2 occured while loading the java VM


    I work with InstallAnywhere-2014 and Jre1.8.0_65. The same problem occured with me when I define 'C:\ProgramData\Oracle\Java\javapath' to the PATH System Variable.

    Resolution for me was installation of Jre8 specifically in the C:\ProgramData\Oracle\Java\javapath.


Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts