Skip to content
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

Example doesn't work with Java 11 #101

Open
cosminpolifronie opened this issue Oct 5, 2023 · 5 comments
Open

Example doesn't work with Java 11 #101

cosminpolifronie opened this issue Oct 5, 2023 · 5 comments

Comments

@cosminpolifronie
Copy link

Hello! Example does not build with Java 11 because of depedencies needing Java 17:
[ERROR] org.eclipse.core.jobs 3.15.0.v20230808-1403 requires Execution Environment that matches (&(osgi.ee=JavaSE)(version=17)) but the current resolution context uses [a.jre.javase 11.0.0]

@cdietrich
Copy link
Member

see

- uses: actions/checkout@v3

@cosminpolifronie
Copy link
Author

That I saw, but looking in the changelog there is no mention about needing Java 17. Only mention is on version 2.29 about Java 17 working, but only Java 11 being required.

I am saying this as a beginner to Xtext, if I didn't find this example I would have thought Java 11 is perfectly fine.

Also, some help needed here, if you have the time: https://stackoverflow.com/questions/77236560/porting-xtext-eclipse-project-to-maven

@cdietrich
Copy link
Member

cdietrich commented Oct 5, 2023

java 11 is fine. if you use old eclipses in target platforms (eclipse 2022-03)

@cosminpolifronie
Copy link
Author

Ah, I understand. Thank you!

@cdietrich
Copy link
Member

p.s. if you use the new Xtext project wizard it should create valid combinations depending on what you select as java version, maven or gradle, select eclipse or not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants