The suggestion above worked for me on a different application. I could not get the PATH variable to work.
LaunchAnywhere Error: Windows error 2 occured while loading the Java VM
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.
54 answers
Sort by: Most helpful
-
Anonymous
2016-05-18T17:14:50+00:00 -
Anonymous
2016-04-19T20:39:25+00:00 I had this issue on a 64-bit Windows 10 system. I installed Java 8 Update 77 x64. I had to set a new environment variable named JAVA_HOME. It's set to the Java JRE folder in the 'Program Files' directory. I then added a new entry to the PATH variable of "%JAVA_HOME%\bin". Here is what is bad: the JRE folder has the version in the name, so when I update Java, the JAVA_HOME variable will be broken. I'll have to engineer the install to update the variable, too.
-
Anonymous
2016-04-19T05:44:07+00:00 That was the major problem. I had installed an Oracle product that installed it's own JAVA Path as C:\ProgramFiles\Oracle\Java\1xxxxx\bin first in the order. I added thecorrect Java path at the end and didn't work. I then deleted the first one and everything is fine!
-
Anonymous
2016-03-15T06:46:24+00:00 Thanks!!!
-
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 :
- 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.
- Click the Advanced System Settings link in the left side.
- In the System Properties window, click on the Advanced tab, then click the Environment Variables button near the bottom of that tab.
- 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.
- Relaunch the installer again and you will find it's running !
Happy Trading ^_^
Hello PQ,
Perfect! Great post. It works!
Thanks