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: How to convert a jar into so file and use it ?


David Michel wrote:
> Thanks !
> 
> But I'm a bit puzzled by this
> 
> ...-L. -lhello --classpath=.:hello/Hello.jar...
> 
>  Why does it need both the libhello.so and the Hello.jar file ?

The Hello.jar file is used at compile time to check the names and types
of all the classes you're going to use.  It's not used at runtime.

Andrew.


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