Skip to content

JRuby 9.3.0.0 Installer for Windows 10 x64 only works with JDK 8 (not JDK 16) #6849

@AndyObtiva

Description

@AndyObtiva

I tried to install JRuby 9.3.0.0 on Windows 10 x64 and it complained about not having Java despite having JDK 16 installed. It indicated JDK 8 was the minimum and maximum version the installer worked with.

I worked around this issue by dual-installing JDK 8, and then later changing JAVA_HOME to JDK 16 to make JRuby 9.3.0.0 work with JDK 16.

Environment Information

Provide at least:

  • JDK version: 16
  • JRuby version (jruby -v) and command line (flags, JRUBY_OPTS, etc): 9.3.0.0
  • Operating system and platform (e.g. uname -a): Windows 10 (MINGW64_NT-10.0-19043 DESKTOP-OG3UV1I 3.1.7-340.x86_64 2021-03-26 22:17 UTC x86_64 Msys)

Expected Behavior

It should have installed successfully like previous 9.2.x.y Windows installers worked on previous versions of Java, but accepting Java 16.

Actual Behavior

I got a dialog message saying: "The install4j wizard could not find a Java(TM) Runtime Environment on your system. Please locate a suitable 64-bit JRE. (minimum version: 1.8, maximum version: 1.8)"

Screenshot 2021-09-22 161309

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions