If you ask me this really should be a feature of the standard
classloader, so long as the Manifest of the outer JAR mentioned the
JARs it contained so as to keep the performance acceptable. This would
integrate nicely with the jar -i indexing feature.
Of course, if anyone at sun had had half a brain, they would have
required runnable JARs be named with a different extension [*] (eg,
Foo.jarx) so we could train users which ones they can double click.
Further the operating system (whatever it might be) would be able to
visually distinguish runnable jars, giving them an application icon,
and we wouldn't have the awfully common case where a user double clicks
on some library jar only to be told it's not runnable due to a missing
main class. (Which is wrong, its not runnable because it's a library,
not an application, but the OS has no way to know this).
[*] ok, so filename extensions suck, but we're talking cross platform
here, so its all we've got
AndyT (lordpixel - the cat who walks through walls)
A little bigger on the inside
(see you later space cowboy ...)
_______________________________________________
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