[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Embedded JVM



Hello Magnus,


On Tue, Sep 25, 2007 at 04:27:06PM +0200, Magnus Holmgren wrote:
> I have a package that (optionally) wants to link with -ljvm. But there are 
> several libjvm, and they aren't installed in /usr/lib, so -rpath would be 
> needed, wouldn't it? Can that be acceptable in this case? Are there any 
> examples of packages embedding a JVM in this fashion?

libjvm.so is designed to be dlopened at runtime (found on LD_LIBRARY_PATH).
Any application, that tries to link that library, is buggy. Please never
ever link it directly.


Cheers,
Michael



Reply to: