need help with ANT!!!!!


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: need help with ANT!!!!!

  1. #1
    Join Date
    Oct 2004
    Posts
    11

    Unhappy need help with ANT!!!!!

    Hi,
    I am using Ant thru eclipse IDE,
    wheni runthe build script it gives me the following error

    BUILD FAILED:
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
    Total time: 1 second

    the problem is i have the JRE, and i have set the path as follows

    Java_Home = C:\Program Files\java\j2re1.4.2_01\bin
    classpath = C:\Program Files\java\j2re1.4.2_01\bin;
    Path = C:\Program Files\Java\j2re1.4.2_01\bin;

    and i run ant fromthe command prompt it even gives me this error saying "tools.jar not found!"

    i have a JRE, do ineed to get the JDK , if so which one and cani install it in the same folder c:\programfiles\java
    where the JRE is ;located? or should i store it somehweere different!

    please i need help urgetnly!!!1
    ssary

  2. #2
    Join Date
    Dec 2004
    Posts
    4
    maybe install myEclipse plugin.. myeclipseide.com
    and jdk

  3. #3
    Join Date
    Oct 2004
    Posts
    11
    i dont think it is the eclipse part
    i think maybe it is that i need a jdk not just the jre

    i amnot sure
    i am a novice to this too so need help!!
    ssary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center