• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ant problem pls. help

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have downloaded and installed J2EE, JSDK and ANT, I have also set the environment variable
JAVA_HOME=C:\jdk1.3
J2EE_HOME=C:\j2eesdk1.2.2
ANT_HOME=C:\ant
I have also set the path for J2EE and ANT
SET pat=c:\jdk1.3\bin;c:\j2eesdk1.2.1\bin;c:\ant\bin
I have also set the classpath for ANT
SET classpath=c:\ant\lib\ant.jar;c:\ant\lib\parser.jar;
My deploymet tool is working on deploytool
but when I try to compile using ANT it is not working...
it gives
Error : Could not find a JVM
Pls. help
Anirudh
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
well, if you copies/pasted this line exactly:
SET pat=c:\jdk1.3\bin;c:\j2eesdk1.2.1\bin;c:\ant\bin
it's a typo. should be:
SET path=c:\jdk1.3\bin;c:\j2eesdk1.2.1\bin;c:\ant\bin
also ant requires ant.jar;jaxp.jar;parser.jar (use the ant.bat file in c:\ant\bin to set this up)
not sure about deploytool, but if you can run 'ant' from a command window, the problem is with deploytool.
 
You’ll find me in my office. I’ll probably be drinking. And reading this tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic