running specjbb2000 with gcj

Marco Trudel mtrudel@gmx.ch
Fri Jun 1 06:04:00 GMT 2007


Delvin Defoe wrote:
> Hi:
> 
> I am trying to compile and run specjbb2000 with gcj and realized I
> could not (re)compile the benchmark because the package
> com.sun.image.codec.jpeg is needed.  I found sources for that package
> at 
> http://www.student.cs.uwaterloo.ca/~isg/res/java/src/com/sun/image/codec/jpeg/ 
> 
> but those sources depend on the package sun.awt.image.codec, which I
> could not find sources for.

If you have a Sun JRE/JDK installed, then the classes are all in 
lib/rt.jar. You don't necessarily need the sources...

> Has any of you been able to compile and run specjbb2000 with gcj?
> 
> What exactly did you go to get it to compile and run?  What commands
> did you execute?
> Any tips?

You could also compile with "-findirect-dispatch". Then the missing 
classes will be searched at runtime (hope you don't need them ;-)).

Marco

> Thanks,
> 
> Delvin
> 



More information about the Java mailing list