• 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: Java application packaging questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java application packaging questions


  • Subject: Re: Java application packaging questions
  • From: Chris Hanson <email@hidden>
  • Date: Sat, 9 Aug 2003 17:04:25 -0500

On Saturday, August 9, 2003, at 12:19 AM, Joseph Jones wrote:
I have a small little Java app that I would like to package up and deliver to my customers. Currently, it depends on 2 other jar files for code and those need to be set into the /Library/Java/Home/lib/ext directory for the application to work.

I assume that you're building a Cocoa-Java application since you're asking this on Cocoa-Dev. I don't know if this also applies to pure Java applications.

For a Cocoa-Java application, you can copy the jar files -- assuming their license allows you to do so -- into your application wrapper.

To do this, you have to create a Copy Files build phase that copies the files into your Java Resources (not Resources) folder. Then you have to make sure the files are listed in your Java Resources build phase. Finally, in the "Cocoa Java-Specific" part of your application's Info.plist Entries, you have to list the name of the jar file.

-- Chris

--
Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
Custom Mac OS X Development | Phone: +1-847-372-3955
http://bdistributed.com/ | Fax: +1-847-589-3738
http://bdistributed.com/Articles/ | Personal Email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Java application packaging questions (From: Joseph Jones <email@hidden>)

  • Prev by Date: Re: Contextual Help
  • Next by Date: Re: Passing FirstResponder calls to next responder
  • Previous by thread: Java application packaging questions
  • Next by thread: Re: Java application packaging questions
  • Index(es):
    • Date
    • Thread