Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
jni-project Xcode 3.1.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

jni-project Xcode 3.1.1



Hullo

I have tried to use the new project jni-project in Xcode 3.1.1 on a machine running osx Mac OS X 10.5.6 (9G55) and what i am doing is really basic, just creating a new project and clicking build and run without altering the code at all. The build seems to work with out error but when the code runs I get a 

Exception in thread "main" java.lang.UnsatisfiedLinkError:

message followed by the full filename and path of the .jnilib

what I am doing wrong? 

sorry for such a basic question. I have had a search of the web for jni UnsatisfiedLinkError os x etc and have found threads that talk about file permissions and library paths etc but as far as i can see the file is exactly where the error message says it should be and has r_x permission for all. The only other perhaps relevant information i can think of is if I type java -version I get

Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)

thanks

Pietà Schofield

The University of Dundee is a Scottish Registered Charity, No. SC015096.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

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 © 2011 Apple Inc. All rights reserved.