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



Hi and thanks for everyone.

 Shawn, Here is output for file command

> file /usr/lib/java/libDrm.jnilib
/usr/lib/java/libDrm.dylib: Mach-O dynamically linked shared library i386


Jamie, I compiled my libDrm in my machine 64-bit. I dont know if javah will use by default Java5 or Java6 ? . java -version tell me that my vesion is java version "1.6.0_01-dp"
Java(TM) SE Runtime Environment (build 1.6.0_01-dp-b06-101). I m sure that my jnilib is for 64-bit


Thanks

-Ucef

On 18-Apr-08, at 5:10 PM, Jamison Hope wrote:

On Apr 18, 2008, at 3:54 PM, Youssef wrote:

yes , i had run my libDrm.jnilib on Default Java 5 in Mac OS . And I was happy . But this error happens only on Java 6 :-( .

Is libDrm.jnilib compiled for 32-bit or 64-bit? Greg is saying that Java 5 would work in either case (rather, that there are Java 5 VMs for both cases). So reiterating that it worked with Java 5 doesn't tell us that you aren't just trying to use a 32-bit JNI library with a 64-bit-only JVM. Which won't work.


-Jamie

--
Jamison Hope
The PTR Group
www.theptrgroup.com


_______________________________________________ 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

_______________________________________________ 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
References: 
 >Re: JNI work fine with default Java5 but not with javase6dp8 (From: Greg Guerin <email@hidden>)
 >Fwd: JNI work fine with default Java5 but not with javase6dp8 (From: Youssef <email@hidden>)
 >Re: JNI work fine with default Java5 but not with javase6dp8 (From: Jamison Hope <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.