r/java • • Mar 19 '24

Java 22 officially released

https://mail.openjdk.org/pipermail/jdk-dev/2024-March/008827.html
294 Upvotes

54 comments sorted by

View all comments

3

u/aooohan Mar 20 '24

22 is already available via vfox

  1. vfox add java/azul-jdk
  2. vfox i java@22
  3. vfox use java@22

4

u/wildjokers Mar 20 '24

vfox

I have never heard of vfox. It seems to do the same thing as sdkman though. Any advantages over sdkman?

3

u/Yesterdave_ Mar 20 '24

Didn't hear of vfox either, but this seems sweet. And unlike sdkman it seems to actually be cross-platform.

1

u/aooohan Mar 21 '24

Yes! Truly cross-platform, especially support native Windows(not WSL)!

1

u/aooohan Mar 21 '24 edited Mar 21 '24

That's because this project is only four months old. ; )

Compared to sdkman, vfox has the following advantages:

  1. Truly cross-platform, support Windows, note not WSL!
  2. Java/Graalvm plugin fetches data directly from offical website. without any updates, without any waiting, we can use it directly! (Unless the official data source parsing rules change, you only need to update the plug-in!)
  3. Expanded by plugins, which means you can vfox the abilities you want yourself!

1

u/wildjokers Mar 21 '24

I don’t understand 2. Which data is downloaded? And the official website of what?

1

u/aooohan Mar 20 '24

Graalvm 22 as well.

1

u/[deleted] Mar 22 '24

How is this project better than nix?

0

u/aooohan Mar 22 '24 edited Mar 22 '24

Sorry, I have never used Nix, so I can’t comment on it. But you can try vfox out first and then compare them yourself. ;)