Spark does not parse Java version string correctly.

Description

Spark plugins have an optional minimum Java version requirement. Spark attempts to compare this value with the version of the JVM that is used to run Spark. This comparison is flawed, and does not correctly compare a java version that has double digits in the major or minor version identifier (e.g.: Java 11). 

Environment

None
Fixed

Assignee

Guus der Kinderen

Reporter

Guus der Kinderen

Labels

None

Expected Effort

None

Ignite Forum URL

None

Fix versions

Affects versions

Priority

Major