I once experienced a Java OS X Application that wouldn't start,
either. I noticed that some files in MyJavaApp.app/Contents/
Resources/Java had very strange permissions and just tried to
changing all permissions to 777 .
After that, everything worked fine. I told the developer of the app
about that and was told there had been something wrong with his ant
build process. Just a vague memory, but maybe it'll help you...
Cheers,
Florian
On 10.01.2007, at 23:38, Ben Galbraith wrote:
Hi,
I built an OS X application bundle using the JavaApplicationStub
and so forth. It worked for a while, then I made some changes, and
it stopped working (i.e., launching the app when I double-click the
icon). I can't figure out why. I put logging statements in the
first lines of my main method, but they never arrive in the
console. I've studied the Info.plist file, I've tried launching it
using "java" from the command-line (worked fine), reduced it down
to the smallest set of data I thought I could (one JAR, one class)
and no matter what I try, I can't get it to launch.
Obviously, I'm doing something stupid. But I wonder, are there any
tools I can use to troubleshoot what's happening? I've built many
other double-clickable OS X app bundles from Java apps, and all of
them work.
I could start over building the bundle from scratch, etc., but just
wondering if there are some tools, techniques, etc. other than
double-clicking and banging my head against the wall as I've been
doing now.
Thx for any help,
Ben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden