A good idea, but I would find even more useful a program that wrapped the jar into an executable that:
- If the user has a (sufficiently new) JVM installed in their system, or if there is a JVM in the program's directory (see below), then it executes the jar with that JVM,
- Otherwise, shows a simple "OK/Cancel" dialog prompting the user to download the JVM. Downloads it (to the program's directory without install, as in packr) and runs the jar.
This would accomodate non-tech-savvy users without a JVM fine (and without making them install Java in their system), while saving space for those that already have Java.
I have been wanting this for years... I'd do it myself, if only I found the time...
- If the user has a (sufficiently new) JVM installed in their system, or if there is a JVM in the program's directory (see below), then it executes the jar with that JVM,
- Otherwise, shows a simple "OK/Cancel" dialog prompting the user to download the JVM. Downloads it (to the program's directory without install, as in packr) and runs the jar.
This would accomodate non-tech-savvy users without a JVM fine (and without making them install Java in their system), while saving space for those that already have Java.
I have been wanting this for years... I'd do it myself, if only I found the time...