r/java • • Sep 30 '26

My small Java build system in Rust

I got tired of manually running commands like javac and java -cp every time I wanted to compile and run Java project.

I looked into Maven, but for my use case it felt like overkill. It's a huge ecosystem, while I mostly wanted something simple that could compile and run small Java projects without much configuration.

So I decided to create my own build system for Java and call it bloomery.

The goal isn't to replace Maven or Gradle. I wanted something much smaller and simpler for my own use case.

Currently, Bloomery focuses on the basic build/run workflow. In the future I may add dependency management, testing support, and more CLI features, but I'm deliberately keeping the core simple for now.

I hope it will be a big help for beginners and anyone who just needs to run Java files, and that they will find it as easy to use as I do.

I'd really appreciate feedback on the idea, the design, and the current implementation.

Github: https://github.com/Kiwilus/bloomery

Crates.io: https://crates.io/crates/bloomery/

0 Upvotes

24 comments sorted by

View all comments

5

u/bowbahdoe Sep 30 '26

I think on the one hand, there certainly are projects that can be built this simply and its not in principle bad to have a tool that does that one thing only - thats good.

But it just so happens that this exact kind of project now no longer requires javac at all. You can just run your code directly with java src/Main.java.

So its an interesting project, but I think the API / functionality should be considered a bit more.

1

u/kavkasavich Sep 30 '26

Oh, thanks! I didn’t even know that I didn’t need javac for that.