Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Jar Launcher annoyance



In reply to my query about an annoying "couldn't launch" message on quitting Jar Launcher, Greg sent me his customary questionnaire:

>>Is it me or is it Jar Launcher? (And if it's Jar Launcher why hasn't it
> >been fixed?)
>
>Can't tell. Have you filed a bug-report on it?
>
>What version of Mac OS X is this occurring on? If it's Leopard, then I
>have observed that some output that used to appear in console.log is now
>being sent to the bit-bucket (appears nowhere), so the admonition to "Check
>the Console" is vacuous.
>
>What JRE version is the jar-file compiled for? What Java version is it
>actually being run under?
>
>Do you have any version of Java 6 installed (an Apple DP or a
>SoyLatte distro)?
>
>Might there be multiple copies of Jar Launcher located on your system?
>


To answer some of the questions first, this is on Tiger (10.4.11) running Java 1.5, but compiled for 1.4 or 1.2 for some jar files, but for 1.5 in case of the Eclipse version. (I haven't checked it on my wife's Leopard yet - guess I should.) No, I haven't compiled a bug report, No I haven't touched 1.6 or anything else fancy, and no there's no reason to think I have multiple copies of Jar Launcher on my machines (Spotlight can't find any at al!). However I have done some more tests, which I should have done before shooting from the hip:

1. Some of the jars of my old simple app don't show this problem (compiled against 1.1)
2. Some third party complex jars don't show this problem (1.4)
3. My problem jars only show the problem if I quit using the red button or the Windows-style internal menu item on the jar, not if quit using the quit on the application menu.


So perhaps I should recompile the old simple app (made on OS 9) against the current JVM and see if it is the code or the version.

>When the jar is running (i.e. step 2), run Activity Monitor.app and tell us
>the following:
> the process ID of the Java app
15381
> the process ID of Jar Launcher.app
15380
> are any other processes with higher pid's also running?
No


I would stress that when a program is finished I always convert my jars to apps and ensure that they have proper Mac menus. However, during development on CodeWarrior on OSX I had got into the habit of running the jar file by double-clicking when it became impossible to run it within the IDE, which is when I came to notice the annoyance.

David




_______________________________________________ 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


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.