-
Notifications
You must be signed in to change notification settings - Fork 189
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
Unknown OSGi execution environment: 'JavaSE-19' #958
Comments
@jarthana are you going to add support for Java 19? |
Yes, we have just commenced the work on Java 19 and very soon will require our tests to be running with JavaSE-19. Will get to it soon. Thanks for the bug Liam. Will keep this issue on my plate. |
I suspect this is a Tycho issue anyway. In the current state, Tycho is incapable of starting a build when running a Java version that is more recent that the one known by Tycho (as a .profile file) at the time of the release. This is a too big restriction. |
This was more a question and I forgot the question mark. But anyway, it seems mostly wrong as I could reproduce this issue with Tycho 2.5. I still believe that we can make it work to choose a better default EE instead of failing in that case. |
Tycho chooses the JDK as a default it is running with as this is most likely the choice a user want to have (every other default would be rather arbitrary and questionable). If one don't want this the desired Java version should be either configured in the pom or in the target, so Tycho knows what to choose here. We can change of course Tycho to fall back to a lower JDK version, but think there should be a strong warning then, as mostly the lowest one is also the lowest we can compile with EJC so likely that approach would just fail later on if one uses never features EJC do not understand. |
I think we can at least improve tycho in a way that it generates missing profiles here for the running VM using the |
To include the fix for eclipse-tycho/tycho#958 PiperOrigin-RevId: 479345457
To include the fix for eclipse-tycho/tycho#958 PiperOrigin-RevId: 479345457
To include the fix for eclipse-tycho/tycho#958 PiperOrigin-RevId: 479345457
To include the fix for eclipse-tycho/tycho#958 PiperOrigin-RevId: 479345457
To include the fix for eclipse-tycho/tycho#958 PiperOrigin-RevId: 479345457
To include the fix for eclipse-tycho/tycho#958 PiperOrigin-RevId: 479345457
To include the fix for eclipse-tycho/tycho#958 PiperOrigin-RevId: 479345457
To include the fix for eclipse-tycho/tycho#958 PiperOrigin-RevId: 479370465
|
@Saymama are you using Tycho 3.0? |
I'm seeing the following error trying to use tycho with a JDK 19-ea:
The text was updated successfully, but these errors were encountered: