• 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 Cocoa and 3rd Party JARs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java Cocoa and 3rd Party JARs


  • Subject: Re: Java Cocoa and 3rd Party JARs
  • From: Matt Warner <email@hidden>
  • Date: Sat, 30 Jun 2001 14:01:11 -0700

I've set that variable, but without success. It seems like the variable has no effect.

Your mention of the expert settings gave me an idea, however. Under Application Settings->aTarget->Application Settings, in expert mode, there is an array variable named NSJavaPath which is expandable via a triangle. Its only content is the name of the application JAR file. The problem with which I've been dealing seems to be solved by adding a new child object to NSJavaPath and specifying the name of the mm.mysql-2.0.4-bin.jar file.

Regards,

Matt



At 8:27 PM +0200 6/30/01, Candide Kemmler wrote:
AFAIK there's a variable in the expert build settings (targets->aTarget->build settings->expert build settings); the variable's called JAVA_CLASS_SEARCH_PATHS, and it seems like the variable is also controlled by the "File and Build Phases->Frameworks & Libraries" option again in "targets->aTarget".

Hope this helps,

Candide

Le samedi 30 juin 2001, ` 06:49, Matt Warner a icrit :

I'm sure this must have already been asked and answered somewhere, but I can't seem to find it in the archives or elsewhere on the net. So, here goes:

I'm working on a "Cocoa-Java Application" type in Project Builder. The project relies on the mm.mysql JDBC drivers. I have configured a build script which copies the precompiled JAR file and have verified that it ends up in the application's Contents/Resources/Java subdirectory. However, the other examples where I've seen this done rely on inserting the location of the JAR file into the MRJApp.properties file, which doesn't seem to exist in a Cocoa-Java application. Needless to say, when I run the application, I get a class not found.

So where do I specify the classpath for the application?

TIA,

Matt Warner
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


  • Prev by Date: Re: Stream IO/SOAP on MacOS X
  • Next by Date: Re: NSFileManager, NSFileType and more...
  • Previous by thread: Java Cocoa and 3rd Party JARs
  • Next by thread: Dialog-based Apps?
  • Index(es):
    • Date
    • Thread