• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

problem during building & running j2ee sdk

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am certified scjp but a beginner to Java programming. I have installed
j2ee sdk in e:\j2sdkee1.3 folder,
j2se sdk in e:\jdk1.3.1 folder and
jakarta-ant-1_3-bin winzip file in jakarta-ant-1.3 folder.

In autoexec.bat file my entry for path statement is as follows:
PATH C:\WINDOWS;C:\WINDOWS\COMMAND;e:\jakarta-ant-1.3\bin;e:\j2sdk1.3\bin

When I run j2ee -verbose, it gives bad command or file name.

I tried to set Environment Variables and Value in autoexec.bat as follows:
JAVA_HOME=e:\jdk1.3.1
J2EE_HOME=e:\j2sdkee1.3
ANT_HOME=e:\jakarta-ant-1.3
PATH C:\WINDOWS;C:\WINDOWS\COMMAND;E:\ANT_HOME\BIN;E:\J2EE_HOME\BIN

While trying to run j2ee -verbose, it gives same error. I cannot even execute ant.
Could someone pls help me in solving this.

Regards and Thanks
Sakina
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you're missing the % signs from the env. variable references
try
set JAVA_HOME=e:\jdk1.3.1
set J2EE_HOME=e:\j2sdkee1.3
set PATH=%JAVA_HOME%\bin;%J2EE_HOME%\bin;
j
 
reply
    Bookmark Topic Watch Topic
  • New Topic