Extensive search for Java
Brought to you by:
grzegok
I think Launch4j should include, as an option, an extensive search for JDK/JRE (scan "Program Files" or whole disk).
It would need a GUI dialog which probably makes it kinda difficult to implement. But it would solve the problem, which is that end users might not able to run a program. Just because Java (which is installed) isn't found...
I am making an AI application for desktops that could solve this kind of thing. But it's written in Java, so I first need launch4j to run... lol. :)
The current implementation solves this problem by verifying the installed runtimes, before choosing one. So even if a user has wrong registry entries there are still chances that other version which satisfies the search will be found.
Java itself also uses the registry, so allowing to choose a broken runtime is not a good idea in my opinion.
Grzegorz