classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compile Classpath not successful.


From: james . moey
Subject: Compile Classpath not successful.
Date: Fri, 19 Jan 2001 16:42:21 +1100 (EST)

Hi all,
        I try to compile Classpath. Source are from the latest
Classpath CVS. I did aclocal;autoheader;automake;autoconf and ./configure
with only a prefix option. The configure went ok but when I try to make
the source.

------------ OUTPUT ---------------
address@hidden $ make
Making all in lib
make[1]: Entering directory `/work3/myKaffe/classpath/lib'
if ! [ -e ../include ]; then -mkdir ../include; fi      
/bin/sh -c "cd ../lib && ./mkdep.pl -h"
/bin/sh -c "cd ../lib && ./mkdep.pl -j"
make[1]: Leaving directory `/work3/myKaffe/classpath/lib'
make[1]: Entering directory `/work3/myKaffe/classpath/lib'
java -classpath /usr/local/java/lib/classes.zip sun.tools.javac.Main
-classpath .:/usr/local/java/lib/classes.zip -d
. ../java/applet/Applet.java ../java/applet/AppletContext.java
../java/applet/AppletStub.java ../java/applet/AudioClip.java
../java/awt/datatransfer/Clipboard.java
../java/awt/datatransfer/ClipboardOwner

............
.............

ct.java ../vm/current/java/lang/VMSecurityManager.java
../vm/current/java/lang/VMSystem.java
Exception in thread
"main" java.lang.NoClassDefFoundError: sun/tools/javac/Main
make[1]: *** [compile-classes] Error 1
make[1]: Leaving directory `/work3/myKaffe/classpath/lib'
make: *** [all-recursive] Error 1

-----------------------------------------

It seem to try to run a class file name sun.tools.javac.Main I did a
search on my system founded that this sun.tools.javac.Main is actually in
sun jdk1.2.2 source code. Why does it try to run that java program ?

I was using RedHat6.2, Sun JDK1.3 to configure and compile the sources.

Have anyone successfully configure and compile Classpath without Japhar
? How is it done ?


thank you




reply via email to

[Prev in Thread] Current Thread [Next in Thread]