[jdom-interest] [Fwd: I got a prblom to buil jdom.jar] a jbuilder
Sam.Deel at sterling-fsg.com
Mon Jan 15 13:26:58 PST 2001
I was having the same problem as reported here. The thing I noted was that
we were both using jdk1.x that came with jbuilder. I don't know what the
difference is, but it worked fine after downloading a second copy of jdk
from sun to its own directory. We were using different versions of jbuilder
and different versions of jdk - and got same error.
The reason for the post is to help anyone going to the trouble to look at
Faridul Islam wrote:
> Hi Brett/
> I am newbie in jdom.
> I download jdom_complete.tgz and jdom_src.tgz from your CVS repository
> I have JBuilder4 with jdk1.3
> I inlcuded ant.jar and xerecs.jar (whatever came with JDOM) in my
> After that, I got the following message when I tried to build jdom.jar
> from the command line ./build.sh
> JDOM Build System
> Building with classpath
> Starting Ant...
> Buildfile: build.xml
> ----------- JDOM 1.0beta5  ------------
> [replace] Replacing java.util.Collection -->
> [replace] Replacing java.util.Map -->
> [replace] Replacing java.util.HashMap -->
> [replace] Replacing java.util.List -->
> [replace] Replacing java.util.LinkedList -->
> [replace] Replacing java.util.Set -->
> [replace] Replacing java.util.HashSet -->
> [replace] Replacing java.util.Iterator -->
> [replace] Replacing java.util.* --> java.util.*;\u000aimport
> [javac] Compiling 30 source files to
> BUILD FAILED
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
> at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:295)
> at org.apache.tools.ant.Target.execute(Target.java:132)
> at org.apache.tools.ant.Project.runTarget(Project.java:717)
> at org.apache.tools.ant.Project.executeTarget(Project.java:448)
> at org.apache.tools.ant.Project.executeTargets(Project.java:422)
> at org.apache.tools.ant.Main.runBuild(Main.java:279)
> at org.apache.tools.ant.Main.main(Main.java:107)
> Total time: 2 seconds
> [faridul at shiva jdom]$
> Cloud you please tell me what does it mean and how can I get rid of this
> Moreover, I don't have the dev.jar file. What is this dev.jar?
> Is it deprecated from the SUN?
> Anyway, I will appreciate your help.
More information about the jdom-interest