Skip to content

update to JavaSE version 17 #267

Open
@anb0s

Description

@anb0s

Expected Behavior

see build failing log

Error:  org.eclipse.cdt.gdb 7.2.0.202211062329 requires Execution Environment that matches (&(osgi.ee=JavaSE)(version=17)) but the current resolution context uses [a.jre.javase 11.0.0]
Error:  Cannot resolve target definition:
Error:    Software being installed: org.eclipse.cdt.sdk.feature.group 11.0.0.202211300214
Error:    Missing requirement: org.eclipse.cdt.gdb 7.2.0.202211062329 requires 'osgi.ee; (&(osgi.ee=JavaSE)(version=17))' but it could not be found
Error:    Cannot satisfy dependency: org.eclipse.cdt.feature.group 11.0.0.202211300214 depends on: org.eclipse.equinox.p2.iu; org.eclipse.cdt.gdb.feature.group [11.0.0.202211062329,11.0.0.202211062329]
Error:    Cannot satisfy dependency: org.eclipse.cdt.gdb.feature.group 11.0.0.202211062329 depends on: org.eclipse.equinox.p2.iu; org.eclipse.cdt.gdb [7.2.0.202211062329,7.2.0.202211062329]
Error:    Cannot satisfy dependency: org.eclipse.cdt.sdk.feature.group 11.0.0.202211300214 depends on: org.eclipse.equinox.p2.iu; org.eclipse.cdt.feature.group [11.0.0.202211300214,11.0.0.202211300214]
Error:  
Error:  Failed to resolve target definition file:/home/runner/work/EasyShell/EasyShell/platform/Eclipse-2022-12.target: See log for details -> [Help 1]
Error:  
Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
Error:  Re-run Maven using the -X switch to enable full debug logging.
Error:  
Error:  For more information about the errors and possible solutions, please read the following articles:
Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
Error: Process completed with exit code 1.

so we need Java 17 to support new Eclipse releases

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions