Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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

ant and variables

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am new to J2EE and try to study the J2EE tutorial. I have found varibles settings quite confusing. I have installed the jdk and j2ee in Windows 2000 Professonal.
c:\jdk1.3
c:\j2sdkee1.3
c:\ant
Can anyone help me to set the environment variables?
what does the following mean:
Open teh file build.xml in a text editor. Edit the line:
<property name="j2ee-home" value-C:\j2sdkee1.3" />
and set the value of the j2ee-home property to be the J2EE SDK installation directory.
If someone is starting to study J2EE Tutorial, maybe we can from a study group.
Thanks in advance.
Kenneth
 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kenneth i guess it means you use a notepad and open the file you have mentioned and type the root of your J2SDEE as your property.
To set up the environment variables right click on your my computer and then see advanced settings there there is an option on set environment variable. Click on the button and eneter you class path and path for j2ee and jdk. But after doing that i am not able to run as well. Hope some kind soul will reply our post and help us out.
 
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed ant in f:\xml\ant
Using NT, rightclick 'My computer' and open the Environment tab.
Fill in the Environtment variables.
E.G.
ANT_HOME
f:\xml\ant
JAVA_HOME
...where you have java installed next line my value
g:\jdk1.3
Add to the CLASSPATH variable ( ";" seperator!)
CLASSPATH
....(your path to ant.jar)
f:\Xml\ant\lib\ant.jar
I hope that I did not forget a setting.
Maybe you should add to PATH
.... (your path)
f:\Xml\ant\bin
to run ant in a command window
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic