Re: How to convert a jar into so file and use it ?

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.