Re: Location of .jar files?
Re: Location of .jar files?
- Subject: Re: Location of .jar files?
- From: Aaron Tuller <email@hidden>
- Date: Sun, 20 Jan 2002 12:11:48 -0800
Your article doesn't say anything about how to specify that the
classpath be inside your app bundle. Although I guess you could at
runtime like you talk about in the Foundation tool section using
[NSJavaVirtualMachine alloc] initWithClassPath:. Does that work in
regular AppKit apps?
Anyway, an example of how to set up NSJavaPath with something like
CurrentTarget.app/Contents/Resources/Java/somejar.jar
would be useful I think.
-aaron
At 7:28 PM +0100 1/20/02, Andreas Monitzer wrote:
On Sunday, January 20, 2002, at 06:50 , Simon Wright wrote:
I have successfully created a test Cocoa/Java app that utilizes
JavaMail to send an email message. Woo hoo!
However, and this will reveal the shallowness of my grasp of the
system, to do so I installed the required .jar files into
Library/Java/Home/lib/ext
Presumably, this means that anyone to whom I send this app must
install those files.
Is there a way of including the .jar files in my application so that I don'
t have to have a custom install?
See my Java Bridge-article at cocoadevcentral.
andy
_______________________________________________
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.