fredfox1 removed a comment on pull request #456:
URL: https://github.com/apache/netbeans/pull/456#issuecomment-628900752
We are in the process of moving a large project from Java 8 to Java 11. I
installed a fresh copy of Netbeans 11.3 on Ubuntu 18.04, set the JDK to Java
11, loaded the project and resolved all issues, made sure all project settings
are set to Java 11, did a clean and build, which completes with:
BUILD SUCCESSFUL (total time: 30 seconds)
When I try to run the project in netbeans (regular or debugging) I receive
the following error:
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.xml.bind not found
nbproject/build-impl.xml:1346: The following error occurred while executing
this line:
nbproject/build-impl.xml:952: Java returned: 1
BUILD FAILED (total time: 8 seconds)
<target depends="init,compile" name="-debug-start-debuggee">
<j2seproject3:debug> <-------------------------- line 1346
I am able to run the resulting jar from the dist directory (with the lib
class path specified) without error.
I have also added these jars to the project libraries:
jakarta.xml.bind-api-2.3.3.jar
jaxb-runtime-2.3.3.jar
I find no dependencies on java.xml.bind when running:
jdeps -cp 'lib/*' -R --multi-release base <jar>
Is it possible that the netbeans run function is somehow still dependent on
java.xml.bind, or is it more likely that something in the project is still
looking for this?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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