RE: SomebodyPleaseHelpMe - sample Java bridge test
RE: SomebodyPleaseHelpMe - sample Java bridge test
- Subject: RE: SomebodyPleaseHelpMe - sample Java bridge test
- From: "Mondragon, Ian" <email@hidden>
- Date: Tue, 18 Feb 2003 14:19:01 -0600
guess i can't send the tarball to the list. sorry.
>
-----Original Message-----
>
From: Mondragon, Ian
>
Sent: Tuesday, February 18, 2003 1:46 PM
>
To: email@hidden; email@hidden;
>
email@hidden; email@hidden
>
Subject: SomebodyPleaseHelpMe - sample Java bridge test
>
>
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]
>
_______________________________________________
>
java-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/java-dev
>
Be sure to read the FAQ http://developer.apple.com/java/faq/ before
>
posting
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
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.