You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Emile Brinkman (JIRA)" <ji...@apache.org> on 2019/04/23 11:06:00 UTC
[jira] [Updated] (NETBEANS-2452) -Xbootclasspath/p is no longer a
supported option
[ https://issues.apache.org/jira/browse/NETBEANS-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emile Brinkman updated NETBEANS-2452:
-------------------------------------
Description:
I have upgraded from NetBeans 8.2 and JDK1.8 to Apache NetBeans 11.0 and OpenJDK 11. The Xbootclasspath option is no longer supported bij JDK11 and apparently has to be changed to --patch-module. It is used in the ANT build-impl.xml file under endorsed.classpath.path. The problem is that if you change "-Xbootclasspath/p:" tot "-patch module java.base=" that NetBeans automatically overwrites it back to -Xbootclasspath/p when you change properties of a project. -Xbootclasspath/a and -Xbootclasspath also don't work.
I also get the following error when running a class even when I changed everything to --patch module:
{{-Xbootclasspath/p is no longer a supported option.}}
{{Error: Could not create the Java Virtual Machine.}}
{{Error: A fatal exception has occurred. Program will exit.}}
{{C:\Users\user1\AppData\Local\NetBeans\Cache\11.0\executor-snippets\run.xml:111: The following error occurred while executing this line:}}
{{C:\Users\user1\AppData\Local\NetBeans\Cache\11.0\executor-snippets\run.xml:94: Java returned: 1}}
{{BUILD FAILED (total time: 0 seconds)}}
Removing the cache folder doesn't help. It seems that Apache NetBeans has hardcoded -Xbootclasspath internally?
was:
I have upgraded from NetBeans 8.2 and JDK1.8 to Apache NetBeans 11.0 and OpenJDK 11. The -Xbootclasspath option is no longer supported bij JDK11 and apparently has to be changed to --patch-module. It is used in the ANT build-impl.xml file under endorsed.classpath.path. The problem is that if you change "-Xbootclasspath/p:" tot "--patch module java.base=" that NetBeans automatically overwrites it back to -Xbootclasspath/p when you change properties of a project. -Xbootclasspath/a and -Xbootclasspath also don't work.
I also get the following error when running a class even when I changed everything to --patch module:
{{-Xbootclasspath/p is no longer a supported option.}}
{{Error: Could not create the Java Virtual Machine.}}
{{Error: A fatal exception has occurred. Program will exit.}}
{{C:\Users\user1\AppData\Local\NetBeans\Cache\11.0\executor-snippets\run.xml:111: The following error occurred while executing this line:}}
{{C:\Users\user1\AppData\Local\NetBeans\Cache\11.0\executor-snippets\run.xml:94: Java returned: 1}}
{{BUILD FAILED (total time: 0 seconds)}}
Removing the cache folder doesn't help. It seems that Apache NetBeans has hardcoded -Xbootclasspath internally?
> -Xbootclasspath/p is no longer a supported option
> -------------------------------------------------
>
> Key: NETBEANS-2452
> URL: https://issues.apache.org/jira/browse/NETBEANS-2452
> Project: NetBeans
> Issue Type: Bug
> Components: cnd - Execution
> Affects Versions: 11.0
> Environment: OpenJDK 11
> Reporter: Emile Brinkman
> Assignee: Emile Brinkman
> Priority: Major
> Labels: patch
> Fix For: 11.0
>
>
> I have upgraded from NetBeans 8.2 and JDK1.8 to Apache NetBeans 11.0 and OpenJDK 11. The Xbootclasspath option is no longer supported bij JDK11 and apparently has to be changed to --patch-module. It is used in the ANT build-impl.xml file under endorsed.classpath.path. The problem is that if you change "-Xbootclasspath/p:" tot "-patch module java.base=" that NetBeans automatically overwrites it back to -Xbootclasspath/p when you change properties of a project. -Xbootclasspath/a and -Xbootclasspath also don't work.
> I also get the following error when running a class even when I changed everything to --patch module:
> {{-Xbootclasspath/p is no longer a supported option.}}
> {{Error: Could not create the Java Virtual Machine.}}
> {{Error: A fatal exception has occurred. Program will exit.}}
> {{C:\Users\user1\AppData\Local\NetBeans\Cache\11.0\executor-snippets\run.xml:111: The following error occurred while executing this line:}}
> {{C:\Users\user1\AppData\Local\NetBeans\Cache\11.0\executor-snippets\run.xml:94: Java returned: 1}}
> {{BUILD FAILED (total time: 0 seconds)}}
> Removing the cache folder doesn't help. It seems that Apache NetBeans has hardcoded -Xbootclasspath internally?
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists