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:

>I compiled my libDrm in my machine 64-bit.

Exactly how did you compile it?  Did you use Xcode or the command-line?
Which version of Xcode?  What command-line.


>> file /usr/lib/java/libDrm.jnilib
>/usr/lib/java/libDrm.dylib: Mach-O dynamically linked shared library i386
>...
>I m sure that my jnilib is for 64-bit

The output from the 'file' command strongly suggests otherwise.

It says the library was compiled only for i386, which is the 32-bit
architecture.  This is why your lib worked on Java 5: Java 5 has a 32-bit
implementation, and that is also the command-line default.  Java 6 DP has
no 32-bit implementation, so your 32-bit lib can't possibly work on Java 6
DP.

If you believe your lib was compiled for 64-bit, you will have to tell us
what you did to build the lib, with what tools and settings, because the
evidence says the build procedure didn't do what you expected.

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