January 12th, 2013, 06:09 AM
|
#8 (permalink)
|
|
Disabled
Join Date: Jul 2012
Posts: 2,033
Device(s):
Carrier: Sprint
Thanks: 541
Thanked 553 Times in 439 Posts
|
Quote:
Originally Posted by Posiedon
problem solved....i just moved the Java directory from C:\Program Files\Java to C:\Java and edited the JAVA_HOME variable accordingly.....ty everyone for your help.
|
So the "C:\Program" error message that I saw was something parsing the path to the Java binaries improperly?
Glad to hear it's fixed. For future reference, or if moving the Java directory breaks other things, remember that in Windows you can use double-quotes (") to surround a path and/or file name containing spaces to get it to parse properly. You need to put the quotes at the very ends of the entire string, BTW. "C:\Program Files\My Program" is good; C:\"Program Files"\"My Program" can cause problems.
You can also use DOS-compatible notation, renaming "Program Files" to something like "PROGRA~1", which also saves space. Note that in Windows 7 there are at least three directories that start with "PROGRA" (it's the first six characters, a tilde and a number that increments) so you might need to use "PROGRA~2" and so on to get the right directory.
|
|
|