when i run tomcat it needs JAVA_HOME environment variable.
then i set it as C:\programfiles\java\jdk; i included path seperator
at the end..then tomcat didn't recognize the JAVA_HOME ..
when i removed ; tomcat runs..is it false to include
path seperator in JAVA_HOME? if it is...why
Most likely you wrote "programfiles" as one word, assuming that you didn't mis-type your example. "C:\Program Files" HAS to have the space in it, as the space is part of the directory name.
You also need to put the path in quotes, or the parser will stop at the space character, and you'll end up with "C"\Program", and that won't work, either.
An alternate way is to fall back on legacy 8.3 filename support, but the shortname of the directory isn't totally predictable. Usually, it's "C:\PROGRA~1", but not always. And I'm not even sure how well that works anymore. I haven't seen a lot of 8.3 support in Windows lately.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Aug 02, 2010
hi Tim Holloway ..thanks for your reply....
As i copied the address from addressbar(c:\program files.....)i didn't get
any error for that..my question is whether i have to include ;(path seperator)