Menu

#222 Support Java on path when min version set

3.x
closed-fixed
None
2
2022-11-13
2022-10-13
No

Hi,

This is a missing feature, this is not supported yet. The min/max versions
were only checked in the registry. However, I will try to add this.

Best regards,
Grzegorz

On Thu, Sep 29, 2022, 16:57 barry mcgillin bamcgill@users.sourceforge.net
wrote:

Hi folks,
We have an app, compiled in Java11 and a JRE min version set to 11.0.9 in
the jre settings for launch4j.
However, when there is a java on the path, like Java 8 for example, the
min version is not respected and it does not fail elegantly, it runs the
java8 with the app and fails with a class version exception, consistent
with the wrong version of java being started

Is there a way to stop this behaviour or is this a known bug?

Thanks
Barry

JAVA_HOME/bin vs min_version
https://sourceforge.net/p/launch4j/discussion/332684/thread/544e40bdc0/?limit=25#9e70

Sent from sourceforge.net because grzegok@users.sourceforge.net is
subscribed to https://sourceforge.net/p/launch4j/discussion/332684/

To unsubscribe from further messages, a project admin can change settings
at https://sourceforge.net/p/launch4j/admin/discussion/forums. Or, if
this is a mailing list, you can unsubscribe from the mailing list.

Discussion

  • Grzegorz Kowal

    Grzegorz Kowal - 2022-11-08
    • status: open --> closed
     
  • Grzegorz Kowal

    Grzegorz Kowal - 2022-11-08

    Merged to master, waiting for release.

     
  • Grzegorz Kowal

    Grzegorz Kowal - 2022-11-13
    • status: closed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB