Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: native lib problem in leopard



Rene Jansen wrote:
>java.lang.UnsatisfiedLinkError: /opt/ooRexx/lib/libBSF4Rexx.jnilib:

Does the file exist?  Does it have appropriate permissions?  Do all the
dirs leading up to it have appropriate permissions?

Are you running the JVM in 64-bit mode?  I think not, because you said it
fails on G5 PPC, and there isn't a 64-bit JVM for that CPU.

There is no "/opt" directory by default, and if Leopard was installed using
"Archive and Install" it may have moved aside something you may be
depending on.

I haven't noticed any breakages due to the JVM now accepting ".dylib" as a
secondary suffix.  All the ".jnilib" files I have now still work.


>And can anyone give me a pointer on how to use this nifty DTRACE stuff to
>see exactly which library filename MacOSX is trying to load?

I think it's already telling you the full pathname:
  /opt/ooRexx/lib/libBSF4Rexx.jnilib

That's not a relative pathname.  If it should be, then that's a different
problem, caused by "." not being in the java.library.path search order.

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.