Re: undefined symbols _JNI_CreateJavaVM
Re: undefined symbols _JNI_CreateJavaVM
- Subject: Re: undefined symbols _JNI_CreateJavaVM
- From: "Finlay Dobbie" <email@hidden>
- Date: Wed, 11 Jul 2007 09:09:54 +0100
Don't link to the library directly, link to the framework ( -framwork
JavaVM instead of -ljavalibrary or whatever).
Also, Java is not part of Darwin. Tools questions are better suited to
the xcode-users mailing list.
-- Finlay
On 11/07/07, Heidi Zhou <email@hidden> wrote:
Hi! Shawn & all,
I did link to
/System/Library/Frameworks/JavaVM.framework/Libraries/libjvm.dylib
(which is symbolic linked to libserver.dylib)
Any further suggestion?
Heidi
--- Shawn Erickson <email@hidden> wrote:
> On 7/10/07, Heidi Zhou <email@hidden> wrote:
> > Hello!
> >
> > There is function "JNI_CreateJavaVM" defined in
> the
> > Java's libserver.dylib (where the libjvm.dylib
> link to
> > on my system).
> >
> > Which should I use instead to launch JVM through
> my
> > code?
>
> I believe you should link against the
> JavaVM.framework IIRC (sorry
> don't have a project in front of me at the moment).
>
> -Shawn
>
Heidi
~~ Life is a song of my heart. ~~
http://photos.yahoo.com/heidi_zhou
____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit
the Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden