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: JNI work fine with default Java5 but not with javase6dp8



Youssef wrote:
and here is output from otool :
otool -L /usr/lib/java/libDrm.jnilib
 /usr/lib/java/libDrm.jnilib:
	Drmlib.jnilib (compatibility version 0.0.0, current version 0.0.0)
	/System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
(compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.0.0)


The expected output from file for a 64-bit JNI lib is:

libxxx.jnilib: Mach-O 64-bit dynamically linked shared library x86_64

A "fat" (Universal) binary will provide output for each architecture when given to file.

I did not see anything in the output from otool -L that suggested 32- or 64-bitness. But the output from file is definitive -- the library you ran it on is NOT 32-bit.

_______________________________________________
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.