This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: questions on gcj and javac compiled jar file
- From: Tom Tromey <tromey at redhat dot com>
- To: Jianming Ye <jye at bbn dot com>
- Cc: java at gcc dot gnu dot org
- Date: 22 Aug 2005 16:49:16 -0600
- Subject: Re: questions on gcj and javac compiled jar file
- References: <430A39F4.3070603@bbn.com>
- Reply-to: tromey at redhat dot com
>>>>> "Jianming" == Jianming Ye <jye@bbn.com> writes:
Jianming> 1) If I have a jar file compiled wirh javac (JDK1.4.2) ,
Jianming> could I use it directly with gcj? Do I need to recompile
Jianming> the jar file with gcj?
Provided it does not have any dependencies on core classes which gcj
does not provide (including sun.* and com.sun.* classes, which many
projects seem to use), it will work fine.
You can either use the jar directly with gij, or you can compile it
with gcj. The manual ought to cover both of these cases.
Jianming> 2) Anyboy has experience using gcj with JacORB?
I believe we've been using jacorb, compiled with gcj, as part of our
jonas build. In fact I think it is in Fedora Core (rawhide maybe, I
forget).
Tom