Compiling SWT with gcj/linux
Jörg Maisenbacher
joerg@maisenbachers.de
Wed Oct 15 14:46:00 GMT 2003
Gerard Naude wrote:
> Now when i try to compile swt.jar (gcj -fjni -shared -o swt.so swt.jar)
> i get these errors:
>> org/eclipse/swt/graphics/Color.java: In class
> `org.eclipse.swt.graphics.Color':
> (...)
> bailing out
try to add swt-pi.jar to your classpath when compiling:
export CLASSPATH=swt-pi.jar:swt.jar
gcj -fjni -shared -o swt.so swt.jar
gcj -fjni -shared -o swt-pi.so swt-pi.jar
should do it (at least it does for me)
joerg
--
Jörg Maisenbacher
"There are only 10 types of people in the world:
Those who understand binary and those who don't."
More information about the Java
mailing list