# Problem with j2ee running with space directory

Xuening Ma
Greenhorn
Posts: 6
I installed my J2EE to C:\program files in windows 2000, and when I run j2ee.bat, I always get the error C:\program is not recognized as a internal or external command, when excute
%J2EE_HOME%\java

Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
Well, first of all you could install somewhere other than C:\Program Files. Otherwise, try putting some quotes around the command...
set J2EE_HOME="C:\Program Files\j2sdkee1.3.1"
BTW "Ning",
Thanks for joining JavaRanch, but could you just take a quick look at the naming policy and edit your profile accordingly.
Thanks!
Simon

Xuening Ma
Greenhorn
Posts: 6
Thanks, Simon
Thanks for your reponse, I tried this way before, it didn't work, so did you quate it in your command line.
It seems that I have to re-install my java compiler then...
BTW, I accept your suggestion, and took a change to my name appearance