Build vs Run of Java app
Build vs Run of Java app
- Subject: Build vs Run of Java app
- From: David Wright <email@hidden>
- Date: Thu, 21 Apr 2005 12:09:57 +1000
Dear XCode users
This is my first message to the list, I have tried to answer my
question by searching the archives, but no luck!
I have taken the following steps:
1. Created new Java Swing Application in XCode
2. Added my java code
3. Added some jar files that I need (jaxb-api.jar, etc)
4. Compiled my application with no errors
When I run the application I get the java.lang.NoClassDefFoundError
error, which indicates to me that the built application does not know
where the .jar files are located. Using the console I would normally
use a classpath option to solve this.
So I tried creating a Copy Files build phase (to
executables/$JAVAROOT) and manually adding each .jar file to the
classpath in the "Pure Java Specific" section of the target.
Unfortunately, this I still get the same error. I also tried manually
copying the .jar files into the bundle, but again no luck when
running the executable.
Any suggestions on what I am doing wrong, I've already spent too much
time on this issue!
Regards
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden