Connection with existing Jars
Tom Tromey
tromey@redhat.com
Wed Jul 4 11:38:00 GMT 2001
>>>>> "Gustavo" == Gustavo Hexsel <GHexsel@mercador.com> writes:
Gustavo> Hello, Iôm trying to start using GCJ with Cygwin. Is there a
Gustavo> binary version available somewhere? I received a few messages
Gustavo> explaining how to build from the sources, but it seems a
Gustavo> rather complicated process.
Nope, gcj has not yet been ported to Windows. Some of the work is
done, but it is not complete.
Gustavo> Another question: does classes generated using GCJ access
Gustavo> regular classes at the classpath?
Sort of. Classes which are implemented in libgcj are compiled and are
available without any searching.
An unknown class, referenced say with `Class.forName()', will be
loaded at runtime just as with the JDK. gcj will try to load such a
class from the appropriate .so. If the interpreter is enabled on your
platform, then gcj will try to load the byte code using the class
path.
Gustavo> Can I use standard Swing packages in this way?
If you could use Swing then that is the way that you could use it.
However, you can't use Swing because our AWT implementation is not
complete.
Tom
More information about the Java
mailing list