Morgan Schweers wrote:
>The one I was using was 14,568 bytes long. Doing a 'strings -a' on it
>revealed nothing that would indicate a version number, unfortunately.
That's about the same size as what I have for the 10.0 or 10.1 launchers,
which are around 13k for me. I didn't realize that size could be so
variable.
Great idea about using 'strings', although I omitted the -a in the following.
The 10.0-era launcher is around 13k and shows only a handful of strings. I
know from experience this launcher is incapable of reading an Info.plist
Java dictionary.
The 10.1-era launcher is around 13k, shows the same strings as 10.0, and
adds several more. It's the first time that
/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework
appears. This distinguishes it from 10.0, which is about the same size.
This launcher is the first one that reads an Info.plist Java dictionary.
The 10.2-era 1.3-only launcher I have is around 44k, and shows the
distinctive string OldJavaAlert, which the 10.[01] launchers lack.
The 10.2-era 1.4-or-1.3 launcher I have is around 27k, and shows the
distinctive string JVMVersion, which all earlier launchers lack.
All subsequent 10.3+ launchers have the string JVMVersion, and are harder
to distinguish from each other, except perhaps by size. I'm not sure how
much I'd rely on size, though.
I don't have an extensive set of the 10.3+ launchers, so if I had to
distinguish them I'd have to do a bunch of retro OS reinstalls first, which
doesn't seem worthwhile at this point.
-- GG
_______________________________________________
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