Re: Jar in Xcode?
Re: Jar in Xcode?
- Subject: Re: Jar in Xcode?
- From: Prachi Gauriar <email@hidden>
- Date: Wed, 3 May 2006 12:22:58 -0400
On May 3, 2006, at 11:17 AM, apple.scu wrote:
Hi,all
I want to use some classes of Jar file. So I use the "javac -
classpath some.jar" to
compile my java file, and run it in console. It works well. But
when I try
to use Xcode to build and run my app, there are some problems.
I import the jar files using "add existing files". Then I build
it,there is
no problem. But when I run it, there are some errors. These errors
say that
there are some classes that can not be found.
I don't kown why this happens.
Thks!
You need to specify the location of the JAR better. For example, if
the JAR is in your project directory, use javac -classpath $(SRCROOT)/
some.jar. See the Build Settings Release Notes in Xcode's Help menu
for more info.
-Prachi
_______________________________________________
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