Actually, there's no start-up jar. In the bundle's Info.plist, I
specified a MainClass; is that not enough?
Ben
On Jan 10, 2007, at 5:42 PM, David Griffiths wrote:
You could try:
java -jar <jarfile>
from the console. Chances are the Manifest file is messed up and it
can't find the main-class.
DG
On 10 Jan 2007, at 22: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