Peter Loveall created NETBEANS-5614: ---------------------------------------
Summary: nb-javac error on Java 1.8 project with profile Key: NETBEANS-5614 URL: https://issues.apache.org/jira/browse/NETBEANS-5614 Project: NetBeans Issue Type: Bug Components: java - Compiler Affects Versions: 12.3 Environment: Netbeans 12.3 for Windows. nb-javac 15.0.0.2. Reporter: Peter Loveall When working on a Java 8 (1.8) project, the following error will occur if any profile other than Full JRE is defined: Caused: java.lang.IllegalStateException: error: option -profile not allowed with target 15 This is easily reproduceable: Create a Java 8 project and set the profile to something other than Full JRE. Issue occurs regardless of JDK being used to run Netbeans (JDK 8, 11, and 15 tested). JDK 1.8 is used for library and JDK 8 is source/binary format. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists