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: FindClass() and debugging in Xcode



On 4/24/07, Greg Guerin <email@hidden> wrote:
Nima Tiran wrote:

>I have a part of code ported from CodeWarrior to Xcode 2.4.1. In the
>code I setup the JVM and other things that works fine, but when I
>debug the app in the same target the line below causes exception.I
>don't know what causes this in debugging mode.
>
>f_cls = f_env->FindClass(inMyClassName);

What exception does it cause?

It says: Exception in thread "main" java.lang.NoClassDefFoundError: my path to the javaClass.jar



What is the contents of inMyClassName when the exception occurs?

the same above path


Which JVM version are you actually getting from the JNI invocation function?

1.4.x

In debugging mode, and what I presume is your Debug configuration, are you
using ZeroLink?

No, I debugged with Release version. ZeroLink is unchecked.



  -- GG


_______________________________________________ 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

_______________________________________________
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


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.