JNI

Michael Hall mik3hall at gmail.com
Mon Feb 13 14:10:07 PST 2012


Not seeing anything in JIRA that seems a real good match.
Is there any reason JNI that works 1.6 shouldn't work 1.7?

Mac-User:HalfPipe mjh$ /usr/libexec/java_home -v 1.7 --exec java -cp .:halfpipe.jar TestMonitor
Exception in thread "main" java.lang.UnsatisfiedLinkError: no hp in java.library.path
	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)
Mac-User:HalfPipe mjh$ /usr/libexec/java_home -v 1.6 --exec java -cp .:halfpipe.jar TestMonitor
TestMonitor: launched Adobe Reader /Applications/Adobe Reader.app pid 278



More information about the macosx-port-dev mailing list