internal compiler error: can't find class$

Jacob Gladish jake@gladish.info
Thu Sep 2 17:58:00 GMT 2004



> 
> OK; I have just re-implemented completely in java the class "coutUI"
> (now called "simpleUI"), and now the error message comes up during the
> linking phase:
> 
> > /usr/bin/ld: Undefined symbols:
> > simpleUI::class$
> > simpleUI::simpleUI()
> 
> You can see that it does not find the constructor either.
> I did the following:
> 
> > gcj -C -classpath ./or124.jar:.  *.java
> > gcjh  simpleUI
> > g++-3.5 -c main.cpp
> > g++-3.5 -o test main.o -lgcj
> 

>From the looks of this, it appears you have a java class simpleUI, but
you are not including the .o on the last line where you link.







More information about the Java mailing list