[
https://issues.apache.org/jira/browse/NETBEANS-5614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Loveall updated NETBEANS-5614:
------------------------------------
Attachment: errorlogxml.txt
> 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
> Priority: Major
> Attachments: errorlogxml.txt
>
>
> 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.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists