Replies: 1 comment 3 replies
-
One option is to enable using a package without its dependencies or without a specific dependency. That way we can say 'pkgx supports openjdk by default, but you can disable that if you want to use another distribution'. Another option is to special case jdk. So a package can specify that it needs 'java^18', and if java is already available, it doesn't fetch anything. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Java development environments are complex. There are several runtimes available (openjdk, zulu, temurin, many more...), and while they all support almost everything, there are edge cases where something can run on one but not the other, a hotfix is pushed to one but not another etc.
For packages that depend on java (eg ktlint), it becomes messy to define their dependencies (openjdk.org || adoptium.net || ... - and we can't write this yet). What can we do about this?
Stackoverflow question with some good answers regarding this: https://stackoverflow.com/questions/61335109/what-is-the-difference-between-azul-openjdk-zulu-openjdk-and-openjdk
Medium article about this: https://medium.com/@javachampions/java-is-still-free-2-0-0-6b9aa8d6d244
Beta Was this translation helpful? Give feedback.
All reactions