]
Rajesh Duggal commented on FORGE-2784:
--------------------------------------
I see the bug in the shell script. The regex throws up the version err when the java
version number contains /1.[1-6]/... So since I'm 10.0.1 so it doesn't get a
complaint.. but come java version 10.1.1 through 10.1.6 we'll start seeing the error.
I'll add the PR to this JIRA shortly.
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: Init Scripts, Windows
Affects Versions: 3.9.0.Final
Environment: Windows command prompt
Reporter: Rajesh Duggal
Assignee: Rajesh Duggal
Fix For: 3.9.1.Final
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/for...
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?)