error: option -Xbootclasspath/p: not allowed with target 12 (Netbeans 11.0) May 5, 2023 by Tarik To compile the project on JDK12, simply set empty value to endorsed.classpath= at project.properties file.