N
neuneudr
Hi,
I know that the *free* Java 5 version shall be end-of-lined soon.
However Java 6 is *not* available on MacOS X 10.4 and apparently
never will (it is available starting from MacOS X 10.5.2).
I do want to support MacOS X 10.4. More precisely, I want my app
to start and run on systems having Java 1.5 and warning them that
some functionnalities (like table sorting) shall be disabled, which is
why they should upgrade to Java 6 (when possible).
I've already packaged application using a single .jar, using some
default class loader hack (to load APIs, packaged as jar files,
inside my main jar). And I've now found "one jar", which
does the same, just better ( http://one-jar.sourceforge.net/ ).
And I was wondering the following : is it conceivable to pack a
"Java 6 jar" inside a "Java 5 jar" and decide, at runtime, if we're
running on Java 6 VM, to launch the Java 6 jar? (of course I'd
have a build script building the two different jars, then packaging
them [and the 3rd-party libraries] into a single jar).
I might just "try it and seen" but I'd like to have some advice
from people here first,
Driss
I know that the *free* Java 5 version shall be end-of-lined soon.
However Java 6 is *not* available on MacOS X 10.4 and apparently
never will (it is available starting from MacOS X 10.5.2).
I do want to support MacOS X 10.4. More precisely, I want my app
to start and run on systems having Java 1.5 and warning them that
some functionnalities (like table sorting) shall be disabled, which is
why they should upgrade to Java 6 (when possible).
I've already packaged application using a single .jar, using some
default class loader hack (to load APIs, packaged as jar files,
inside my main jar). And I've now found "one jar", which
does the same, just better ( http://one-jar.sourceforge.net/ ).
And I was wondering the following : is it conceivable to pack a
"Java 6 jar" inside a "Java 5 jar" and decide, at runtime, if we're
running on Java 6 VM, to launch the Java 6 jar? (of course I'd
have a build script building the two different jars, then packaging
them [and the 3rd-party libraries] into a single jar).
I might just "try it and seen" but I'd like to have some advice
from people here first,
Driss