Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem:j2ee command in command prompt in windows XP

 
Tanakorn Numrubporn
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Again: I following HFEJB book and download j2eeRI 1.3.1. I setup everything that the reference tell me. I type j2ee in command prompt of windows XP, it response to me
'C:\Program' is not recognized as an internal or external command, operable program or batch file.

And again I already set PATH, ClassPath, J2EE_HOME, JAVA_HOME. Do you think that this platform is something about use J2ee 1.3.1 on Windows XP.

Thank you
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you check the "PATH" parameter in windows?

This problem occurs because I guess your JDK is installed in Program Files, but there is a "space" in between.

You may need to use a double quote " to quote the "problematic" classpath.

Nick
 
Tanakorn Numrubporn
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But if you notice the begin of response screen is 'C:\Program' not 'j2ee' and I can use some command in C:\j2sdkee1.3.1\bin such as 'setenv' ect.
I setup on Root directory 'C:\j2sdkee1.3.1' so I think it may not be the PATH problem.

OOh! My j2sd is 1.5_07 version, do you think this is a point?

Thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic