This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: questions on gcj and javac compiled jar file


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]