• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

problem during building & running j2ee sdk

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Die Fledermaus does not fear such a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic