• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Problem:j2ee command in command prompt in windows XP

 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic