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 compilation issue.



On Jun 27, 2005, at 15:02, Robert M. Zigweid wrote:

Hi Robert:

It looks as though FindClass() and the other functions that I'm trying to employ are not declared in <jni.h> I think that's the first step. What should I be including here? Once that's done, I'll tackle the Undefined Symbols.

Can you post the error messages you're receiving, along with a snippet of code where you're trying to call these functions?


For reference, I'm using FindClass without any problems here on Tiger. My calls look like this:

jclass cls = (*env)->FindClass(env, "org/ jSyncManager/Transport/OSXUsbTransport");

    (where "env" is a pointer to an instance of JNIEnv).

    HTH!

Brad BARCLAY,
Lead Developer & Project Administrator,
The jSyncManager Project.

=-=-=-=-=-=-=-=-=-=
From the Mac OS X Desktop of Brad BARCLAY
E-Mail:  email@hidden     Web:  http://www.jsyncmanager.org


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >JNI compilation issue. (From: "Robert M. Zigweid" <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.