• 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
Finding Jars - Class not found
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finding Jars - Class not found


  • Subject: Finding Jars - Class not found
  • From: Danny Swarzman <email@hidden>
  • Date: Mon, 19 Sep 2005 19:09:27 -0700

I'm trying to write Cocoa application that includes Java and Objective-C.

I have tried various combinations of build settings and targets.

It looks like one of the most flexible solutions for what I need to do would be to create a jar and an Objective-C, Cocoa application the calls the java code.

There seem to be two ways to call stuff. One is to use the java invocation protocol, part of the Java Native Interface. The other is the Cocoa functions, NSJavaClassesFromBundle, etc.

I have managed to create jar files that appear in the Products folder. I have even managed to move them around with a script build step.

The question is how do you tell Xcode or your application that the jar is right there in the bundle where is should be?

-Danny

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: NSKeyedArchiver exception
  • Next by Date: NSScrollView problem
  • Previous by thread: Entourage nightmare
  • Next by thread: NSScrollView problem
  • Index(es):
    • Date
    • Thread