GithubHelp home page GithubHelp logo

Comments (10)

MarcMil avatar MarcMil commented on June 10, 2024

Same problem, also with Java 14. Did something change between these version regarding OSGi execution environments?

from tycho.

laeubi avatar laeubi commented on June 10, 2024

@akurtakov @mickaelistria could this due to removal of profiles or does this not matter here?

from tycho.

akurtakov avatar akurtakov commented on June 10, 2024

Java 14 is no longer supported and Tycho no longer publishes EE for it. After Equinox stopped shipping EEs for Java 9+ Tycho publishes only LTS and last release. Please move to newer JVM.

from tycho.

laeubi avatar laeubi commented on June 10, 2024

@akurtakov thanks for verification, this is one of the cases where I think a longer retention + proper warning would help users as we have discussed recently!

from tycho.

akurtakov avatar akurtakov commented on June 10, 2024

Longer retention than actual support period by the project itself doesn't make sense to me - there is no supported Java 14 JVM available AFAIK. Better warnings and etc. are always welcome of course.

from tycho.

MarcMil avatar MarcMil commented on June 10, 2024

Better warnings would definitely be helpful in these cases ;) Thanks for the info, will try it with a newer version then. I hope the OP can do that as well or else continue using the older version of Tycho.
JVM changes rarely happen on our side, because they involve physically downloading the JVMs of all supported OSes and architectures, since we include them in our builds. But I guess it's time to for a change :)

from tycho.

laeubi avatar laeubi commented on June 10, 2024

The idea is just that we keep profiles (but never touch update, support,...) them and if used emit a warning.

So instead of

[ERROR] Internal error: org.eclipse.tycho.core.ee.UnknownEnvironmentException: Unknown OSGi execution environment: 'JavaSE-14' -> [Help 1]
... lots of ugly stack traces...

[WARNING] JavaSE-14 is no longer supported from xxx, further versions of Tycho will no longer support using this java version in future releases.

do you think that's feasible? (of course the warning should be printed BEFORE the version actually is no longer supported).

from tycho.

akurtakov avatar akurtakov commented on June 10, 2024

Whatever is done is done. This extra warning should target JavaSE-15 as it is the next due for removal once 17 is out. Splitting the profiles in ExecutionEnvironmentUtils to two lists LTS and interim versions and warn about interim versions even when introducing them that they are such might make sense so people keep in mind their short lifespan.

from tycho.

laeubi avatar laeubi commented on June 10, 2024

True, I'll try to take a look at ExecutionEnvironmentUtils if I can add a warning there for future removals.

from tycho.

akurtakov avatar akurtakov commented on June 10, 2024

I assume this one should be closed as it didn't manage to get traction and Java-14 is long dead.

from tycho.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.