You have the error right there:

> error: option -Xbootclasspath/p: not allowed with target 12

>From 
>https://www.oracle.com/technetwork/java/javase/9-relnote-issues-3704069.html

> The boot class path has been mostly removed in this release. The java 
> -Xbootclasspath and -Xbootclasspath/p options have been removed. The javac 
> -bootclaspath option can only be used when compiling to JDK 8 or older. The 
> system property sun.boot.class.path has been removed. Deployments that rely 
> on overriding platform classes for testing purposes with -Xbootclasspath/p 
> will need to changed to use the --patch-module option that is documented in 
> JEP 261. The -Xbootclasspath/a option is unchanged.

--emi

On Wed, May 8, 2019 at 1:20 AM Quang Nguyen <qhng2...@gmail.com> wrote:
>
> Hi,
> Can you let me know what I should do to resolve the error below?
> This is a very simple Web Java program that passes the user’s input from 
> index.jsp to response.jsp
>
> Created dir: /Users/apple/NetBeansProjects/HelloWeb/build/empty
> Created dir: 
> /Users/apple/NetBeansProjects/HelloWeb/build/generated-sources/ap-source-output
> Compiling 1 source file to 
> /Users/apple/NetBeansProjects/HelloWeb/build/web/WEB-INF/classes
> error: option -Xbootclasspath/p: not allowed with target 12
>
> I compiled it in Netbeans 11 using JDK 12.0.1
> Thank you,

---------------------------------------------------------------------
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