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

Vaijayanthi Mala Suresh
Wed Jun 10 11:53:00 GMT 2009

Hi All,

I also have the same requirement. Taking from David's example,  when i
tried to do the following

gcj -O0 -g0  --classpath=./:extern/mytest.jar  -c -o TestApp.o

It gives me the following error internal compiler error: in make_class_data, at
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.

Can you please let me know what is the reason for this error.

What am I doing wrong over here?


On Wed, Jun 10, 2009 at 4:36 PM, Andrew Haley<> wrote:
> David Michel wrote:
>> Thanks !
>> But I'm a bit puzzled by this
>> ...-L. -lhello --classpath=.:hello/Hello.jar...
>>  Why does it need both the 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.

More information about the Java mailing list