[forge-issues] [JBoss JIRA] (FORGE-2784) Forge.bat shows error with JDK version 10

Rajesh Duggal (JIRA) issues at jboss.org
Fri Jul 20 18:40:00 EDT 2018


Rajesh Duggal created FORGE-2784:
------------------------------------

             Summary: Forge.bat shows error with JDK version 10
                 Key: FORGE-2784
                 URL: https://issues.jboss.org/browse/FORGE-2784
             Project: Forge
          Issue Type: Bug
          Components: Windows
    Affects Versions: 3.9.0.Final
         Environment: Windows command prompt
            Reporter: Rajesh Duggal


I'm running forge.bat with JDK 10.0.1 and the script errors out complaining that Java 1.7 or higher is needed.

See: https://github.com/forge/core/blob/master/dist/src/main/resources/bin/forge.bat#L77

Maybe either the bat file should allow me run forge with JDK 10+ (maybe with a warning that it's not supported/or tested yet). Or, the error message should be more specific about which versions (lower and upper limits) of the JDK are supported. So I can be precise in deciding which older JDK version to install on my system.

(Also, perhaps that the forge unix shell script should check the JDK version number carefully. Maybe in a separate JIRA ticket?)



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the forge-issues mailing list