SomebodyPleaseHelpMe - sample Java bridge test
SomebodyPleaseHelpMe - sample Java bridge test
- Subject: SomebodyPleaseHelpMe - sample Java bridge test
- From: "Mondragon, Ian" <email@hidden>
- Date: Tue, 18 Feb 2003 13:46:06 -0600
All,
Here's a quick PB project I created to find out just how dumb I can be
<grin>. If anyone is willing to look at the project & can provide some
insight as to why the java-objc bridge will not work, I will forever be in
your debt.
It's just a Cocoa-Java app with a single java class (TestJavaClass.java),
an objc header for it (TestJavaClass.h), and a main routine (main.m - duh)
that loads the NSJavaVirtualMachine and tries the following:
- load java.util.Vector (succeeds)
- load TestJavaClass (fails)
I have confirmed that the .jar gets placed into the
Contents/Resources/Java directory in the .app, but even when I changed the
initialization of the NSJavaVirtualMachine to explicitly include the main
jar, it still failed.
Please don't be surprised if there's some glaring oversight surrounding
the Java code or anything Java-specific, as I'm an ObjC programmer just
starting to tinker with Java... :-)
Again - any help that can be offered will be greatly appreciated.
- Ian
<<SomebodyPleaseHelpMe.tar.gz>>
[demime 0.98b removed an attachment of type application/octet-stream which had a name of SomebodyPleaseHelpMe.tar.gz]
_______________________________________________
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.