Pavel Tupitsyn created IGNITE-12306:
---------------------------------------

             Summary: .NET: Java version is not taken into account when 
detecting JAVA_HOME
                 Key: IGNITE-12306
                 URL: https://issues.apache.org/jira/browse/IGNITE-12306
             Project: Ignite
          Issue Type: Bug
          Components: platforms
            Reporter: Pavel Tupitsyn
            Assignee: Pavel Tupitsyn
             Fix For: 2.8


When multiple Java versions are installed on the machine, random one is picked 
up.
For example, when 7 and 8 are installed, only 8 is suitable for Ignite.

We should check versions and pick the right one:
* Collect all known versions
* Filter out all below 8
* Pick the lowest

Lower versions are prioritized - we don't want to use latest. Brand new Java 
version with breaking changes might be released where Ignite does not work.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to