You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very excited about this project. I was just searching for some Java formatter some weeks ago and stumbled upon the usual suspects. And I was honestly shocked to find out they still have all the same problems and shortcomings like some years ago. So, I just stumbled upon your article on foojay and I am very happy that someone finally tries to tackle the formatter problem in the Java ecosystem.
I also like that open-java-format already provides the full package:
maven/gradle plugins
IntelliJ integration
CLI
To me personally, that is the absolute minimum baseline a formatter has to provide nowadays. Almost all the other ones fail in this aspect and I am glad to see you already provide those.
What I don't like yet is that the CLI has to be manually downloaded, but I've already seen some issues in the tracker to provide native packages for Ubuntu/Windows and more.
Would you also consider integrating with the mise (mise-en-place) tool?
I am using it almost exclusively and it would be a great way to bring open-java-format to all platforms instantly. Also it would naturally fit as mise-en-place is primarily serving development related tools, which this tools definitely is.
@davidkron Hi, thank you for good words. I didn't consider mise as target platform but it sounds like a really great idea. I didn't proceed with brew/scoop/rpm only because there is a minimum amount of stars for these repositories. We need to collect at least 75 to be able to submit PRs (different tools have different amounts but I just want to collect some and proceed with submissions)
Good news: mise can install the CLI already, without a registry entry, through its GitHub backend:
mise use github:openjavaformat/open-java-format@21.1.1
open-java-format --version
mise picks the native binary for your platform from the GitHub release, verifies its checksum and the release's build attestation, and puts open-java-format on your PATH. That works on macOS, on Linux with glibc and on Windows x86-64. On Windows on ARM and on Alpine and other musl-based Linux there is no native binary, so use the runnable jar there. mise use pins the version in your project's mise.toml:
For a short mise use open-java-format, the tool would need an entry in the mise registry. That registry only takes widely used tools, with thousands of stars, so it will have to wait. The Command line page on openjavaformat.dev will describe the mise setup (openjavaformat/docs#22).
Thanks for the suggestion, and for the kind words!
Activity
abashev commentedon Nov 23, 2026
@davidkron Hi, thank you for good words. I didn't consider mise as target platform but it sounds like a really great idea. I didn't proceed with brew/scoop/rpm only because there is a minimum amount of stars for these repositories. We need to collect at least 75 to be able to submit PRs (different tools have different amounts but I just want to collect some and proceed with submissions)
abashev commentedon Nov 28, 2026
Good news: mise can install the CLI already, without a registry entry, through its GitHub backend:
mise picks the native binary for your platform from the GitHub release, verifies its checksum and the release's build attestation, and puts
open-java-formaton yourPATH. That works on macOS, on Linux with glibc and on Windows x86-64. On Windows on ARM and on Alpine and other musl-based Linux there is no native binary, so use the runnable jar there.mise usepins the version in your project'smise.toml:For a short
mise use open-java-format, the tool would need an entry in the mise registry. That registry only takes widely used tools, with thousands of stars, so it will have to wait. The Command line page on openjavaformat.dev will describe the mise setup (openjavaformat/docs#22).Thanks for the suggestion, and for the kind words!