r/SpringBoot • • Oct 26 '26

Question What OS do you primarily use for Spring Boot development?

I'm curious how many Spring Boot developers use Windows as their primary development environment, especially running Java natively rather than through WSL2.

I mostly develop on macOS and Linux, but I maintain a lightweight alternative to Prometheus + Grafana for application monitoring and have been exploring native Windows support.

Do you run Spring Boot directly on Windows, through WSL2/Docker, or on another OS? And do you monitor your applications locally while developing?

3 Upvotes

17 comments sorted by

4

u/fluffytme Oct 26 '26

WSL. I get the best of both worlds then

2

u/fykup Oct 26 '26

Curious, do you run all your development tools inside WSL, or do you also use native Windows tools alongside it?

4

u/fluffytme Oct 26 '26

My repos are on my Windows machine and WSL can access through '/mnt/c/...'. I mainly build on Windows (through IntelliJ) to avoid the WSL to mount overhead (although I do build on WSL sometimes).

All my tools are installed in WSL, like K8s, teleport, curl, claude, etc, etc. So it's development and admin stuff on Windows, everything else on WSL.

1

u/Successful-Cod-8174 29d ago

Can I dm you regarding some ?

1

u/fluffytme 29d ago

Sure, go for it

1

u/Paw565 29d ago

You should store all your projects inside wsl home directory to avoid io penalty of accessing windows drives.

3

u/Anaptyso Oct 26 '26

I use MacOS, but that's because it's mandated by my employer. If I was to do development at home then I'd be using Linux.

For the most part it doesn't make much difference to me for development purposes: I'm usually doing most stuff in a terminal or IDE, and that usually works the same in both. If I was ever to need to use Windows then I could imagine it being a bit more of a change.

2

u/fykup Oct 26 '26

Thanks for sharing! Interesting to hear the opposite perspective, where macOS is the employer-mandated choice rather than Windows.

1

u/Anaptyso Oct 26 '26

It seems increasingly common for companies to give developers Macs where I work in the UK. The combination of Unix + easy to use Docker may be a part of it.

The last couple of companies I've worked for have had the same split of Macs for developers and Windows for non-techy roles.

2

u/pipaa-joy 29d ago

Primarily macOS here, with Linux when I need to match prod. For Spring Boot day-to-day I stay in the IDE and terminal either way; the painful bits on Windows for me used to be line endings, case-sensitive paths, and native libs, which is why I avoided developing there when I had a choice. Local monitoring I keep light — Actuator endpoints plus logs — and only spin up a fuller stack when I'm debugging something that actually depends on metrics. If you're adding native Windows support for a monitoring tool, path/permission differences and the service install story are usually where Spring apps surprise people.

1

u/fykup 29d ago

Thanks, that's useful feedback! I take a similar approach to monitoring - keeping it lightweight rather than requiring a full metrics stack.

And I agree about Windows edge cases. That's exactly why I've introduced Windows support as experimental for now. Cross-compiling is straightforward, but paths, permissions, and other platform-specific details need real-world testing before I'd call it fully supported.

I'm starting with a standalone executable and may explore Windows service integration later.

1

u/fykup Oct 26 '26

Thanks everyone for sharing your setups and experiences. This has been really interesting!

I mostly develop on macOS and Linux, and I realized I'd underestimated how common native Windows development still is in the Spring Boot ecosystem.

It's also interesting how often the choice comes down to what employers provide rather than personal preference.

I'll share the final poll results and a few observations once it closes!

3

u/FerengiAreBetter Oct 26 '26

I’m forced to use Windows at work but at home it’s always been Ubuntu or Mac.

2

u/Mikey-3198 Oct 26 '26

I like to use Linux mint https://linuxmint.com for everything outside of work. I use SDKMAN to mange the jdk.

1

u/alanbdee Oct 26 '26

I use whatever the application gets deployed to. If that's Windows, then I'm using Windows. If that's containers, I'm using containers. Early in my career, Windows cost me a few bugs (not really with Java) with filenames not needing to be case sensitive. I also recommend gitbash if you're using Windows.

1

u/ShakesbeerNL Oct 26 '26 edited Oct 26 '26

I hate all OSes equally.

Windows because it's what they're giving me.

Wouldn't have any problems with Linux probably.

Shortcuts are too different on macOS, would need to unlearn muscle memory, afterwards it would be fine as well.

I use the bundled IntelliJ jvms and don't bother with installing or configuring jvms 'by hand'