Failed To Run Java Even Though Path Is Set On Windows 8 Enterprise - Cordova
Solution 1:
After I ran into the same issue, the following steps seems to have fixed it:
PATH
needs to contain the bin folder of the Java installation pathC:\Program Files\Java\jdk1.8.0_05\bin
make sure thebin
is includedJAVA_HOME
needs to be set to the root of that Java installation folder, in my caseC:\Program Files\Java\jdk1.8.0_05
Solution 2:
In my case, i had multiple java instalations, and whenever i tried to print "echo %java_home%" command on command prompt, it always used to return "%java_home%" as it is.
So i uninstalled all the java versions and then installed it again, and whoola, it worked.
Hope this helps someone.
Solution 3:
In my case, It said "JAVA_HOME variable is unvalid, C:\Program Files\Java\jdk1.7.0_51". Then I added a quotation mark to JAVA_HOME. Just like "C:\Program Files\Java\jdk1.7.0_51". Finally It works. May This can be helpful
Solution 4:
There was a bad entry in the path that corrupted my whole system path.
C:\Program Files\Microsoft SQL Server\110\Tools\Binn";C:\Program Files\Microsoft\Web Platform Installer\;
Seems like that quotation mark is an entry added by SQL Server installation or web platform. I never added those to the path so it might be the installers fault?
Post a Comment for "Failed To Run Java Even Though Path Is Set On Windows 8 Enterprise - Cordova"