JNI

Michael Hall mik3hall at gmail.com
Mon Feb 13 16:04:16 PST 2012


On Feb 13, 2012, at 5:58 PM, Igor Nekrestyanov wrote:

> Try
>  -verbose:jni
> ?
> 
Immediately preceding...
[Dynamic-linking native method com.apple.resources.LoadNativeBundleAction.getPathToBundleFile ... JNI]
[Dynamic-linking native method apple.laf.JRSUIControl.getCFDictionary ... JNI]
[Dynamic-linking native method java.awt.AWTEvent.initIDs ... JNI]
[Dynamic-linking native method java.awt.event.InputEvent.initIDs ... JNI]
[Dynamic-linking native method java.awt.event.KeyEvent.initIDs ... JNI]
[Dynamic-linking native method java.io.FileOutputStream.writeBytes ... JNI]
Exception in thread "main" java.lang.UnsatisfiedLinkError: no hp in java.library.path
[Dynamic-linking native method java.lang.Throwable.getStackTraceDepth ... JNI]
[Dynamic-linking native method java.lang.Throwable.getStackTraceElement ... JNI]
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
	at java.lang.Runtime.loadLibrary0(Runtime.java:845)
	at java.lang.System.loadLibrary(System.java:1084)
	at org.cmdline.monitor.CocoaMonitor.<clinit>(CocoaMonitor.java:10)
	at TestMonitor.<init>(TestMonitor.java:24)
	at TestMonitor.main(TestMonitor.java:16)

Unless the LoadNativeBundleAction ties in somehow it doesn't tell me anything.




More information about the macosx-port-dev mailing list