Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode & NoClassDefFoundError



Hello,

I'm new to Xcode and the files I am using are straight up java rather than the cocoa-java bridge.  I've got an a simple block of code that runs fine in Eclipse 3.1.  I've created a Java Tool project in Xcode and added my files.  I've added my one argument to the java executable in the "Arguments to be passed on launch".  It builds without any errors or warnings.  But when I run it, I get 

"Exception in thread "main" java.lang.NoClassDefFoundError: javax/jms/Message"

Now since it 1) Runs perfectly in Eclipse 2) Builds fine in Xcode, I am assuming there is a build setting in Xcode I am missing.  Does anyone have any suggestions?

Thanks.
Matt
 _______________________________________________
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.