|
-
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks