powered by Jive Software

[BUG] Not detecting JRE

I want to report a JRE detection bug.

My system:

  • Class: Linux
  • Distribution: LUbuntu (64-bit)
  • Version: 19.04

Installed JRE: packages from OpenJDK-13:

  • jre
  • jre-headless
  • jre-zero

Even if I have the latest JRE installed, I recieve following error messages after starting up:

  • in console:

best java alternative in:

  • in the browser after launching “localhost:9090” (setup):

Error: Can not proceed with Openfire Setup.

Your current installation fails to meet minimum server requirements - > please see the checklist below:

x At least JRE 1.8

Please fix it asap. Thanks

Thanks, have filed it as OF-1934.

He asked the same question 3 weeks ago and received an answer [BUG] Not detecting Java on Linux (Lubuntu 19.04)
Java 13 is not supported (yet). Java 11 is a LTS version, default on Ubuntu and can be used. If we want to keep that ticket i would requalify it as an improvement, minor and name it as “Add support for Java 13”. Although i’m not sure if we should do this, as it will be dead soon and Oracle will release 14, 15, 16 and so on with their weird release cycle. You can’t keep up with every new short time release. 11 is enough for a while.

Maybe there shouldn’t be limit of support for any JRE kind? it would be easier :wink:

Oracle might introduce changes to APIs that can brake something in Openfire (hence the new major version of Java and not a point release). So, we can’t blindly support any version, because it would only seem that Openfire works, but it would run into some issues. So it has to be tested for every major version and adjustments to code be made if necessary. Although in this case error is misleading, as Openfire does work with Java 11. So this check can be fixed to provide correct min version.