Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #8665
| From | Philipp Kraus <philipp.kraus@flashpixx.de> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: System.load / System.loadLibrary |
| Date | 2011-10-09 18:41 +0200 |
| Organization | 1&1 Internet AG |
| Message-ID | <j6sisf$1bh$1@online.de> (permalink) |
| References | <j6rtvg$g6t$1@online.de> <ddv2979m7vi0u4186rp3q9c3koepredg0h@4ax.com> <j6s2ui$k9d$1@online.de> <a2d397l5u5dotj0f30kfvp711s4reqkj4p@4ax.com> <j6siab$len$1@dont-email.me> |
On 2011-10-09 18:32:08 +0200, markspace said:
> On 10/9/2011 7:54 AM, Roedy Green wrote:
>> In Forth it would be trivial to insert so some code to monitor what
>> strings load was being fed. I have never figured out how to pull that
>> off in Java. If you had such a tool, I think you could crack this
>> problem quite quickly.
>
>
> I seem to recall a tool on Unix system for monitoring the systems calls
> made by a process. I guess you could use that on the JVM to see what
> file calls where made by the JVM. Not sure how it works though.
>
> It might be strace I'm thinking of. Not sure though, I'm no sysadmin.
If I do the call with System.load("/usr/lib/libmylib.so") under Linux it works,
under OSX with System.load("/usr/lib/libmylib.dylib") it does not. OSX
seems to have the
DYLD_LIBRARY_PATH environment variable.
Phil
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
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