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: libjvm.dylib JNI_CreateJavaVM woes



Aren't you supposed to use an option that looks like "-framework JavaVM.framework" instead of your -I and -L uses? The two functions you are missing are in the framework file in /System/Library/Frameworks/JavaVM.framework ... (something like that - I had a similar error on CodeWarrior 9. Check the archives on this list for JNI_CreateJavaVM? I had posted about this before, and someone (Greg?) set me right (thanks! :-) ) ).

Of course. Thank you very much! I still had to -I/System/Library/Frameworks/JavaVM.framework/Headers for the compile, but the link works just fine. For the record, it's just "-framework JavaVM" without the ".framework"


Best wishes,
Hamish

_______________________________________________
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: 
 >libjvm.dylib JNI_CreateJavaVM woes (From: Hamish Allan <email@hidden>)
 >Re: libjvm.dylib JNI_CreateJavaVM woes (From: Moises Lejter <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.