RE: loading nib from jnilib - now java from cocoa!
RE: loading nib from jnilib - now java from cocoa!
- Subject: RE: loading nib from jnilib - now java from cocoa!
- From: "Mondragon, Ian" <email@hidden>
- Date: Tue, 18 Feb 2003 12:16:06 -0600
mary,
this is the exact problem i've run into when trying to access java classes
from objc. with all of the help i've gotten from a couple of people,
nothing seems to work. i can manage to get standard java classes via
NSClassFromString(), but not any custom ones.
i've tried separating my test cocoa-java class (JavaTestClass.java) into a
separate build phase to create a .jar, which i then included in the build
phase of the main app (i've tried both copying and merging the thing). the
rest is pretty much as you described...i can get classes like
java.util.Vector to load, but not my own java class.
- ian
>
-----Original Message-----
>
>
So far so good, but (in spite of the excellent well publicized tutorial
>
on the Java bridge) I can't load any java classes from the cocoa
>
application - NSClassFromString always returns nil.
>
I've even written headers for the java classes I'm trying to load, so
>
it's not that.
_______________________________________________
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.