-
Notifications
You must be signed in to change notification settings - Fork 132
Build with Java 17 #1519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build with Java 17 #1519
Conversation
The nls1 requires java 17 but the compile uses Java 11. This updates the compile to Java 17. Alternatively, the nls bundle may be downgraded to Java 11
Thanks wim. |
That is a choice. Sloeber can be installed in older Eclipse versions if we keep Java 11. If we do not require any Java 17 function at the moment, I would say stick to Java 11. Let me make another PR for that. |
This whole java thing is very confusing to me. |
One confusing thing for me is this pull request. |
This pull request will change the build to run with J17. It means you have no check on J11 backward compatibility. Since you have already upgraded all plugins (except 1) to use J17, you can accept this and be happy. If you do care about backward compatibility, ignore this PR and accept the other one. Either way is fine with me. |
I care about backward compatibility |
@wimjongman https://github.com/eclipse-cdt/cdt/blob/main/NewAndNoteworthy/CDT-11.0.md#java-17 |
We don't need to move to Java 17. We just need it as a runtime. Let me take a look. |
I thought the plugin target could solve some building problems but it looks like it creates more then it solves 😞 |
Thinking about this I wonder. |
about the target thing: |
Much to my surprise changing the versions to 0.0.0 makes things work with latest. |
It is working as expected. When you use 'latest' in combination with a qualified version number, then this will bomb when 'latest' gets updated. If you use 0.0.0, you basically telling 'whatever version is in the repository'. This is a relatively new feature. Not buggy but works as designed. |
unfortunately the editor put the version in there (without me telling it to) and you have to edit the text file to remove the version as the ui doesn't let you. |
And thanks for the help 👍 It really is deeply appreciated. |
The nls1 requires java 17 but the compile uses Java 11. This updates the compile to Java 17. Alternatively, the nls bundle may be downgraded to Java 11