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: Getting the current running JVM?



At 01:15 PM 4/30/2004, Ken Hawkins wrote:

not sure which list this goes to so i posted to both the java-dev and cocoa-dev...

many apologies to the wrong list.

I have a java JNi wrapper that calls a cocoa framework. easy enough however, what i need is within the cocoa framework to get the running JVM ( where my java objects are at).

what calls are available for me to accomplish this? anyone have a snip of code?

I think you want this:

jint JNI_GetCreatedJavaVMs(JavaVM **vmBuf, jsize bufLen, jsize *nVMs);

Moises
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Getting the current running JVM? (From: Ken Hawkins <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.