Loading native shared-libraries dynamically....

Clemens Eisserer Linuxhippy@web.de
Mon Nov 25 06:33:00 GMT 2002

Thanks for the fast response!

> > Is it possible to load complied java (object-files) with gcj-compilied
> > programs.
> > The FAQ says, that its possible to load and interpret class-files
> > dynamically but is this also possible with already compilied classes?

Hmm, thx for this part.
I have a class called bte, when I copy the bte.class into the program-dir, I dont have any problems using it.
I´ve also a compiled shared-library, called "lib-bte.so or bte.so this-bte.so org bte.o" nothing does work. The compilier ignores it. If the bte3.class is in the dir, libgcj uses the class file instead of the native shared library.

I´ve changed also the LD_LIBRARY_PATH to poit to this dir, but it hasnt affected ;-(
Do I need to set any special Variables, so that libgcj can find my library?

I´m really sorry wasting your time so often, its really embrassing for me, but I´ve played arround about 3 hours and I didnt find the solution.

Mfg Linxuhippy

Mit der Auslands-SMS von WEB.DE FreeMail erreichen Sie Ihre Freunde auf
der ganzen Welt - http://freemail.web.de/features/?mc=021171

More information about the Java mailing list