Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-7613

Unable to run example classes for JDK9 in IDEA

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.4
    • 2.4
    • examples
    • None
    • Windows 10, Oracle JDK 9.0.4, Apache Maven 3.3.9, IDEA 2017.1.3

    Description

      I built the AI binary fabric from 2.4 sources and then import pom.xml in IDEA from examples directory ( ignite-examples project). The pom file imported and then compiled successfully.

      But trying to run any example leads to failure:

      Information:java: Errors occurred while compiling module 'ignite-examples'
      Information:javac 9.0.4 was used to compile java sources
      Information:02.02.2018 13:32 - Compilation completed with 1 error and 0 warnings in 1s 749ms
      Error:java: invalid flag: -release
      

      The same issue appers if I tried to rebuild the chosed example.

      Attachments

        Activity

          People

            Unassigned Unassigned
            skozlov Sergey Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: