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

Support max JVM version #58

Open
Vampire opened this issue Aug 9, 2019 · 1 comment
Open

Support max JVM version #58

Vampire opened this issue Aug 9, 2019 · 1 comment

Comments

@Vampire
Copy link
Contributor

Vampire commented Aug 9, 2019

One way would be to support the java_home syntax 11*, so that any version 11 is accepted, but not anything newer.
Another option would be to be able to specify a max version, so that you can also state that you support 11, 12 or 13, but not 14.

@Vampire Vampire changed the title Please support max version Support max JVM version Aug 9, 2019
@jlholt
Copy link

jlholt commented Mar 19, 2021

I too need this because Java SE 8 has some features (com.apple.eawt) that are implemented in a different way starting with Java SE 9. If the code loads with 9 and beyond, then a nasty failure happens because classes in that package can't be loaded. If I can ever figure out how to create a branch and pull request, then I'll implement this. I've created an implementation for this in an older version of this project and it probably wouldn't take too long to reimplement it for the current head of master. Probably less time than figuring out pull requests. BTW, Java SE 8 has support through 2030. No other release comes close to that level of support.

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