• 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
SomebodyPleaseHelpMe - sample Java bridge test
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: AddressBook searching broken in 10.2.4
  • Next by Date: Re: AddressBook searching broken in 10.2.4
  • Previous by thread: Problem with NSHost
  • Next by thread: RE: SomebodyPleaseHelpMe - sample Java bridge test
  • Index(es):
    • Date
    • Thread