• 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
Installing a Cocoa Applicatoin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installing a Cocoa Applicatoin


  • Subject: Installing a Cocoa Applicatoin
  • From: "jason" <email@hidden>
  • Date: Wed, 2 May 2001 15:43:31 -0600

I need to port a Cocoa-Java application to another computer. I have some java api's that i'm using. The application works fine on my computer, but will not launch on the other computer. Here is the error if I try and launch the app from the terminal (even as root. BTW, it wont launch from just clicking on the application itself. If I do this, it will start, but give up with no errors):

[localhost:SendMail.app/Contents/MacOS] root# ./SendMail
May 02 15:23:16 SendMail[436] NSJavaResourceLocatorForPath: cannot locate class com.apple.util.PathResourceLocator
ObjCJava WARNING:
jobjc_jvm_newObject(): constructor with signature ()V on class com/apple/misc/BundleClassLoader failed (should morph the java exception)
May 02 15:23:16 SendMail[436] *** Uncaught exception: <OBJCJava_RUNTIME_EXCEPTION> (null)
[localhost:SendMail.app/Contents/MacOS] root#

The java api's i'm using are the JavaMail and activation.jar api's which i've put in /System/Library/Java/ as well as /Library/Java/ . (on my own machine they work fine in /System/Library/Java)

Any help would be most appreciated!

Thanks,

Jason Hullinger


  • Prev by Date: Re: loading executable code, NSBundle
  • Next by Date: Re: D.O. won't pass NSBezierPath ???
  • Previous by thread: Re: Supplementary files of an app belong into ~/Library/Application Support
  • Next by thread: Learning Cocoa <first Post?>
  • Index(es):
    • Date
    • Thread