I have just tried to upgrade an older project (<jdk 1.8) from NB 11 to NB 16, and I'm running into a problem.

I upgraded to JDK 11, and as a result added

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <source>11</source>
          <target>11</target>
        </configuration>
      </plugin>

However, now when I try to compile I get:

COMPILATION ERROR :
-------------------------------------------------------------
error: option --boot-class-path not allowed with target 11
1 error

So, if NB is explicitly being told that we're compiling for JDK 11, why is it giving maven a --boot-class-path specification ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to