Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Apr 06, 2001
Apr 22, 2001 22:42:00
When I tried to invoke a
, javac says that the root cause is "java.lang.NoClassDefFoundError: sun/tools/javac/Main". Is that the tool.jar? How can I fix this?
Joined: Apr 23, 2001
Apr 23, 2001 05:35:00
There can be several reason for that
1)set the classpath till web-inf/classes
2)class file not available in classes directory
3)tool.jar not available in classpath
Joined: Nov 19, 2000
Apr 24, 2001 13:45:00
make the classpath variable include the file JAVA_HOME\lib\tools.jar
This should solve the problem
Peter den Haan
Joined: Apr 20, 2000
Apr 25, 2001 02:45:00
Some application servers (such as Orion) require you to copy tools.jar into the application server lib or root directory.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: java.lang.NoClassDefFoundError: sun/tools/javac/Main
what does this error message mean
Error While Starting tomcat
Error in compiling a source code *.java
my first jsp can not display(http status 500)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013