Finding Jars - Class not found
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