Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6343

How can I set version of maven compiler?

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Trivial
    • Resolution: Not A Problem
    • 3.5.2
    • None
    • Command Line
    • java version "9.0.4"
      Java(TM) SE Runtime Environment (build 9.0.4+11)
      Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)

    Description

      I want to install local lib, but the maven compiler shows an error:

      " Source option 1.5 is no longer supported. Use 1.6 or later."

       

      My current Java version is 9.0.4.

      C:\Users\albka>java -version
      java version "9.0.4"
      Java(TM) SE Runtime Environment (build 9.0.4+11)
      Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)

       

      I have variables "JAVA_HOME" and "MAVEN_HOME"

      What's wrong?  Please help me guys!

      Attachments

        1. InkedScreenshot_6_LI.jpg
          455 kB
          Oleh Ponomarenko
        2. 0BdOrPrqSLaQQFncOv2mvw.png
          6 kB
          Oleh Ponomarenko

        Activity

          People

            Unassigned Unassigned
            albka1986 Oleh Ponomarenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: