Results 1 to 3 of 3
- 07-30-2007, 01:48 PM #1
Member
- Join Date
- Jul 2007
- Posts
- 43
- Rep Power
- 0
Compile failed, messages should have been provided
I have this problem
what's the problem?Java Code:[javac] Compiling 1178 source files to C:\exj\classes [javac] java.lang.NoClassDefFoundError: com/sun/tools/javac/Main [javac] Exception in thread "main" BUILD FAILED C:\dbC\build.xml:75: Compile failed, messages should have been provided. Total time: 1 second
do you have any ideas?
thanks
- 07-30-2007, 05:16 PM #2
Senior Member
- Join Date
- Jul 2007
- Posts
- 135
- Rep Power
- 0
The tools.jar file is not in your class path. This jar is typically part of the jdk. I think ant is trying to invoke this class without using the javac.exe but it cannot find it in the class path.
My guess is that you only have the JRE installed and not the JDK or if you do you are running java.exe from the JRE and not the JDK directory.
- 07-30-2007, 05:36 PM #3
Member
- Join Date
- Jul 2007
- Posts
- 74
- Rep Power
- 0
Similar Threads
-
Error Messages Not Showing Up
By nvidia in forum Web FrameworksReplies: 0Last Post: 04-07-2008, 10:41 PM -
How JDBC support is provided by Spring applications
By Java Tip in forum Java TipReplies: 0Last Post: 03-31-2008, 10:21 AM -
how can server send messages every 5 min?
By dim_ath in forum NetworkingReplies: 7Last Post: 01-10-2008, 03:59 PM -
How JDBC support is provided by spring applications
By JavaBean in forum Java TipReplies: 0Last Post: 09-28-2007, 12:53 PM -
Jsf Error Messages - Retain
By vaswin in forum JavaServer Faces (JSF)Replies: 0Last Post: 08-05-2007, 08:22 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks