Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #8660

Re: System.load / System.loadLibrary

From Philipp Kraus <philipp.kraus@flashpixx.de>
Newsgroups comp.lang.java.programmer
Subject Re: System.load / System.loadLibrary
Date 2011-10-09 14:09 +0200
Organization 1&1 Internet AG
Message-ID <j6s2ui$k9d$1@online.de> (permalink)
References <j6rtvg$g6t$1@online.de> <ddv2979m7vi0u4186rp3q9c3koepredg0h@4ax.com>

Show all headers | View raw


On 2011-10-09 13:22:39 +0200, Roedy Green said:

> On Sun, 9 Oct 2011 12:45:04 +0200, Philipp Kraus
> <philipp.kraus@flashpixx.de> wrote, quoted or indirectly quoted
> someone who said :
> 
>> 
>> Does anybody know a tip to load all libraries first, so the Java VM can
>> work with them from a "fixed" path?
> 
> I am not sure what you are asking.

My problem is, that the System.load with a fully qualified filename
does not load my library and my depend library. If I use System.loadLibrary
with the OS path (unix LIBRARY_PATH, osx DYLD_LIBRARY_PATH)
the libs are loaded.

eg: mylib is linked again boost libraries, so I would like to load with 
System.load
the boost libs first. I use the System.load command with a fqn path and 
get the error
"image not found"


Thx

Phil

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

System.load / System.loadLibrary Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-10-09 12:45 +0200
  Re: System.load / System.loadLibrary Roedy Green <see_website@mindprod.com.invalid> - 2011-10-09 03:52 -0700
  Re: System.load / System.loadLibrary Roedy Green <see_website@mindprod.com.invalid> - 2011-10-09 04:22 -0700
    Re: System.load / System.loadLibrary Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-10-09 14:09 +0200
      Re: System.load / System.loadLibrary Roedy Green <see_website@mindprod.com.invalid> - 2011-10-09 07:54 -0700
        Re: System.load / System.loadLibrary markspace <-@.> - 2011-10-09 09:32 -0700
          Re: System.load / System.loadLibrary Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-10-09 18:41 +0200
            Re: System.load / System.loadLibrary markspace <-@.> - 2011-10-09 10:31 -0700
  Re: System.load / System.loadLibrary "John B. Matthews" <nospam@nospam.invalid> - 2011-10-09 22:26 -0400

csiph-web