Did you install the 32b version of the JVM? That helped me once when I had a similar issue.
Are you able to install an older version of the SDK, then upgrade to the newer version using the .7z and adding the new version as a project inside of Eclipse?
Since the Java site detects your browser automatically, downloading the 32b JVM is tricky, so I used the following link to download JVM 6/32b: http://stackoverflow.com/questions/5272216/is-it-possible-to-install-both-32bit-and-64bit-java-on-windows-7 and confirm that both 32b and 64b can reside on the same machine.
The site above allows download of specific files, and the filename matches that shown on the diagram - so I'm pretty confident that I go the one in intended. Perhaps I can try a later 32-bit version.
I tried a later version without any luck. I have looked and see at least one other user having issues with Windows 7 without any clear answers. The challenge is that there appears to be no way to get any more information on the reason for the error popup. I hope that someone is listening who can make some improvements to the process, specifically to design in meaningful error messages... .please.
Understand the frustration. Note that we use Windows 7 internally and have 400-500 users in the company that have installed the SDK without a hitch, so I'm not sure what's happening. I have reinstalled/installed over a dozen times since version 1 under Windows 7 without an issue.
Couple of things:
This user mentions installing in a different directory?
Have you tried this?
Have you tried to install an older version of the SDK, say WICED Smart SDK 2.2 has been released...?
If this installs, then there is a straight forward means to upgrade using the .7z
I will also check around internally to see if anyone on the engineering side can decypher the error message above that is being thrown by "InstallAnywhere"
I Googled: "windows error 2 occurred while loading the java vm installanywhere"
And found this thread which appears to indicate that JVM 7 needs to be installed and the system path updated accordingly: https://community.flexerasoftware.com/showthread.php?214384-Windows-error-2-when-trying-to-start-installer
I had tried installing the older version, but still the same issue.
Since most people do not have this problem with Windows 7, it looks like it is something specific with my PC that is the issue. However, without a method to see the specific problem, there is no way to know I am getting closer to a real solution. I don't want to waste more time trying older versions of Java. I have put over 10 hours into this and need to move on.
Thanks for your help.
Aaron - did you make sure you removed all existing Java installations before installing 8u20?
After uninstalling everything and installing 8u20 it worked for me (Windows 10 though)
Yes, I had uninstalled all Java installations and removed all java references from the environment variables before installing 8u20.
I am giving up on the Windows 7 installation and trying it on a new Windows 8.1 computer, which seems to have worked.
I wanted to let you know that userc_19497 on the team did some research in this area and discovered that when you run across the Windows error 2 while loading the Java VM (needed when installing any of the SDK IDEs), that you can try running the installer from the command prompt with the LAX_VM command line parameter:
C:\Users\Downloads>install.exe LAX_VM "C:\Program Files\Java\jdk1.8.0_60\bin\java.exe"
Note: change the paths according to your specific system.
This is what worked for me, thanks to Elad on another thread (Re: 2.2.1 IDE on Win10)
1 - Remove all installation using uninstall / remove programs
2 - Download this archive version of the 32 bit (x86) version of the JRE (8u20 is the version you should get). You may have to create a username/password
3 - Run the Wiced SDK 2.2.1 installer
Nothing else I tried on these forums solved this "Windows error 2" issue for me (not to say that they don't work, they just didn't for me). This is simple and works.
1 of 1 people found this helpful
This is not a big problem at all. I have faced the same windows error 2. I am using hp laptop so I have just visited hp care website https://hpetechnicalsupportnumber.com/hp-customer-care-number/ and they resolved it quickly. You should visit there for the proper solution. Thank you!