I just got the cvs tree and tried to compile it. Here is what went
wrong.
java -classpath /usr/local/java/lib/classes.zip sun.tools.javac.Main
-classpath ../lib:/usr/local/java/lib/classes.zip -d ../lib
../java/lang/Cloneable.java
Unable to initialize threads: cannot find class java/lang/Thread
This is just so wrong. The configure script should NEVER use java
on the sun.tools.javac.Main class. Why dont you just use this?
javac -d ../lib ../java/lang/Cloneable.java
It would work and you would not get into the horrible problems
of finding the correct classes.zip to include in the -classpath
argument (this is really ugly because different ports do it
different ways). If you just use "javac" then you will not run
into these issues. In addition other jvms will not call the
compiler sun.tools.javac.Main. Could someone please fix this?
Mo DeJong
dejong at cs.umn.edu