[ https://issues.apache.org/jira/browse/HBASE-22218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16820510#comment-16820510 ]
Sakthi commented on HBASE-22218: -------------------------------- The error message comes from jruby. Our current version is *9.1.13* which prints to stderr for JDK 10+ and defaults to 7. Versions [9.1.14, 9.1.15] are similar to 9.1.13 Version [9.1.16, 9.1.17] defaults to 9 for JDK 9+ and throw exception if JDK < 7 Version [9.2.0.0] defaults to 9 for JDK 9+ and throws exception if JDK<8 Veriosn [9.2.1.0, 9.2.2.0, 9.2.3.0, 9.2.4.0, 9.2.4.1, 9.2.5.0] defaults to 8 for JDK11+ or JDK5-. Doesn't print any error. Versions [9.2.6.0+] defaults to 8 for JDK12+ or JDK5-. Doesn't print any error. If we just don't want any error to be printed then we can go for *9.1.16+*. If we want the version which actually has JDK11 being acknowledged, then that would be *9.2.6.0+* > Shell throws "Unsupported Java version" when tried with Java 11 (run-time) > -------------------------------------------------------------------------- > > Key: HBASE-22218 > URL: https://issues.apache.org/jira/browse/HBASE-22218 > Project: HBase > Issue Type: Bug > Reporter: Sakthi > Assignee: Sakthi > Priority: Major > Labels: jdk11 > > Following warning is thrown in the shell. > {noformat} > unsupported Java version "11", defaulting to 1.7{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)