My JAVA_HOME point to a jdk 11. And my toolchain to java 8.
And I see he fail to compile due to some classe remove from jdk in 11 but present in jdk 8.
So I think he compile with the wrong javac. no ?
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] RCP Parent 1.0.0-SNAPSHOT .......................... SUCCESS [ 0.365 s]
[INFO] RCP Example Bundle (Product Application) 0.1.0-SNAPSHOT FAILURE [ 2.471 s]
[INFO] RCP Example Feature 0.1.0-SNAPSHOT ................. SKIPPED
[INFO] RCP Example Feature 2 0.2.0-SNAPSHOT ............... SKIPPED
[INFO] org.tycho.demo.rootfiles.win 1.0.0-SNAPSHOT ........ SKIPPED
[INFO] org.tycho.demo.rootfiles 1.0.0 ..................... SKIPPED
[INFO] RCP Example Product 1.0.0-SNAPSHOT ................. SKIPPED
[INFO] RCP Example Target Definition 1.0.0-SNAPSHOT ....... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.016 s
[INFO] Finished at: 2021-07-05T16:59:55+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:2.3.0:compile (default-compile) on project example-bundle: Compilation failure: Compilation failure:
[ERROR] C:\Users\gdufour\git\github\eclipse\tycho-demo\itp04-rcp\example-bundle\src\example\bundle\Application.java:[21]
[ERROR] import javax.xml.bind.annotation.XmlEnum;
[ERROR] ^^^^^^^^^^^^^^
[ERROR] The import javax.xml.bind cannot be resolved
[ERROR] C:\Users\gdufour\git\github\eclipse\tycho-demo\itp04-rcp\example-bundle\src\example\bundle\Application.java:[35]
[ERROR] XmlEnum xmlEnum = null;
[ERROR] ^^^^^^^
[ERROR] XmlEnum cannot be resolved to a type
[ERROR] 2 problems (2 errors)
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:2.3.0:compile (default-compile) on project example-bundle: Compilation failure