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]

Loading native shared-libraries dynamically....


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

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


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