• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Jar in Xcode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Jar in Xcode? (From: "apple.scu" <email@hidden>)

  • Prev by Date: XCode Resource Files
  • Next by Date: Annoying & serious bug
  • Previous by thread: Jar in Xcode?
  • Next by thread: Jar in Xcode?
  • Index(es):
    • Date
    • Thread