Installing a Cocoa Applicatoin
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