LaunchAnywhere Error: Windows error 2 occured while loading the Java VM

Anonymous
2015-07-25T06:13:46+00:00

The error in the title come out when i tried to install a stock trading software,is there any method to fix it?[ I have tried to install the software on another laptop to make sure it is not the problem of the software.Download link: https://www.osk188.com/page.jsp?name=download_apps]

Windows for home | Previous Windows versions | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

54 answers

Sort by: Newest
  1. Anonymous
    2016-03-15T06:46:24+00:00

    Thanks!!!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-03-09T19:12:28+00:00

    The error in the title come out when i tried to install a stock trading software,is there any method to fix it?[ I have tried to install the software on another laptop to make sure it is not the problem of the software.Download link: https://www.osk188.com/page.jsp?name=download_apps]

    Hi Garvill,

    I was having the same problem when I want to install OSK188 to my Windows 7 system too.

    1 solution to it is that you can add a PATH variable to the system, steps as below :

    1. From the Desktop, right-click the Computer icon and select Properties. If you don't have a Computer icon on your desktop, click the Start button, right-click the Computer option in the Start menu, and select Properties.
    2. Click the Advanced System Settings link in the left side.
    3. In the System Properties window, click on the Advanced tab, then click the Environment Variables button near the bottom of that tab.
    4. In the Environment Variables window, highlight the Path variable in the "System variables" section and click the Edit button. Add or modify the path lines with the paths : "C:\Program files\Java\jre1.8.0_60\bin" (You may cross check the right path in your Program files\Java directory)

    *Please note that each different directory is separated with a semicolon (;) so you just need to add a semicolon (;) after the existing path.

    1. Relaunch the installer again and you will find it's running !

    Happy Trading ^_^

    Hello PQ,

    Perfect! Great post. It works!

    Thanks

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-01-28T20:15:06+00:00

    It was looking for the 64bit version. I had only (86) version. Installed 64 version of Java and it worked.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2016-01-27T23:20:50+00:00

    Full explanation of and resolution to this problem here.

    To summarize, from Java 1.8.0.60 onwards Java reports its internal build # as 600 rather than 60 like earlier versions, so you must tell LaunchAnywhere to ignore this.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2016-01-24T05:14:33+00:00

    This issue occur when launching BASC scoring software for one of my user. I removed this path below and relaunch and everything was fine.

    C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;;C:\Program Files (x86)\Novell\ZENworks\bin;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Novell\GroupWise;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments