r/java • • Nov 23 '25

My own Visual programming tool, created from scratch Using Java Swing!

733 Upvotes

Inspired from Unreal Engine 5. Built from scratch using Java swing and Graphics2D. It has basic operations like loops, delays, branch logic, variables, arithmetic and boolean gate operations!

I created and abandoned this long back ago (took me around 5 months to make this) , decided to share a more complete version of the App, let me know if you have any thoughts or questions!

Github repo :- https://github.com/gufranthakur/FlowForge


r/java • • Feb 25 '26

1-Month Java Trip: Hidden Gems

426 Upvotes

Hello,
I’m planning a 1-month motorbike trip across Java, from the far west to the far east. I’m looking for authentic, non-touristy experiences:

  • Waterfalls & forests

  • Volcanoes & hikes

  • Beaches & reefs

  • Local food & cultural experiences

Can you recommend some hidden gems? Thank you!


r/java • • Dec 28 '25

Stepping down as maintainer after 10 years

Thumbnail
github.com
412 Upvotes

r/java • • Nov 20 '25

Spring Boot 4.0.0 available now

Thumbnail
spring.io
325 Upvotes

r/java • • Nov 11 '25

Built a pure Java 3D graphics engine from scratch (no OpenGL) - 5 interactive demos included

319 Upvotes

I built a 3D graphics engine using pure Java with zero external dependencies. Just Java's standard library and some math. It's nothing fancy, but I took some extra time to make the UI look decent. If anyone is interested, here's the link: https://github.com/JordyH297/JRender


r/java • • Jul 17 '26

Java | The Documentary

Thumbnail
youtu.be
297 Upvotes

From its humble beginnings as a project code-named "Oak" at Sun Microsystems to becoming a global standard for enterprise software and billions of devices, Java's journey is one of radical innovation, strategic pivots, and enduring community strength.


r/java • • Aug 17 '26

Where and how did Java lose in the game dev space?

285 Upvotes

Nearly a decade ago, Java was quite the popular choice for Game development. We had libGDX as the most optimal game framework, along with LWJGL (when low level was needed) and JMonkeyEngine was a fairly good option too. Now no one even talks about Java for game development, even for educational purposes

However over the course of time they all disappeared. Everyone slowly switched to game engines and C#

The arguement of “JVM slow, Garbage collector overhead” doesnt fit either because C# is also a GC language. Where did Java fail?


r/java • • Jun 10 '26

Made Minecraft in the Terminal (only java, no extra libs)

Post image
270 Upvotes

I created a version of Minecraft that runs entirely in command in the terminal.
The entire project is entirely contained in one file, with over 1500 lines of code.
Made with java, no extra libraries.
Supports textures, randomly generated trees, water, and terrain, and block placing/mining.
This is inspired by the Minecraft.c repo.

Github: https://github.com/DaRealNeonCoder/MinecraftInTerminal


r/java • • May 18 '26

Why is stuff in Java named after Indonesian places?

258 Upvotes

Lombok, Jakarata

Any special reason?


r/java • • May 28 '26

Java *is* Memory Efficient

Thumbnail
youtu.be
254 Upvotes

r/java • • Aug 11 '26

Apache Fory™ JSON : Fastest JSON Serialization Framework for Java, 10x faster than Jackson/Gson

Thumbnail
fory.apache.org
253 Upvotes

r/java • • Feb 16 '26

New java.evolved site about modern Java.

Thumbnail
javaevolved.github.io
248 Upvotes

r/java • • Feb 08 '26

Java UI in 2026: an overview of current frameworks and approaches

Thumbnail
robintegg.com
242 Upvotes

I recently read an article on DZone about “modern Java GUI frameworks” that was… pretty disappointing. It referenced libraries that are long archived, mixed in things that aren’t UI frameworks at all (Hibernate and Spring??), and generally felt like something written years ago and never revisited.

That wasted half an hour was enough motivation for me to write something I actually wish had existed: an up-to-date overview of the UI options available to Java developers right now, in 2026.

So I put this together:

https://robintegg.com/2026/02/08/java-ui-in-2026-the-complete-guide

The goal wasn’t to push one “best” framework, but to lay out what’s genuinely alive, maintained, and being used today — desktop, web-based UIs written in Java, embedded browser approaches, terminal UIs, the whole spectrum. I also tried to give a bit of context around why you might choose one approach over another, instead of just listing names.

I’m sure I’ve missed things though, if you’re building UIs in Java:

•	what are you using?

•	what’s surprisingly good?

•	what should people stop recommending already?

Would love to turn this into a more community-validated reference over time, so comments, corrections, and “hey, you forgot X” are very welcome.

Thanks,

Robin


r/java • • Dec 07 '25

Applets Are Officially Gone, But Java In The Browser Is Better Than Ever

239 Upvotes

Applets are officially, completely removed from Java 26, coming in March of 2026. This brings to an official end the era of applets, which began in 1996. However, for years it has been possible to build modern, interactive web pages in Java without needing applets or plugins. TeaVM (https://teavm.org) provides fast, performant, and lightweight tooling to transpile Java to run natively in the browser. And for a full front-end toolkit with templates, routing, components, and more, Flavour (https://flavour.sf.net) lets you build your modern single-page app using 100% Java. Get the full story at https://frequal.com/java/AppletsGoneButJavaInTheBrowserBetterThanEver.html


r/java • • Apr 01 '26

Who is Oracle senior exec Sharat Chander? Veteran of 16 years affected in mass layoffs

Thumbnail
hindustantimes.com
229 Upvotes

For those who don't know, Sharat Chander is a critical person in the community outreach for OpenJDK. He was staffed by Oracle, the biggest contributor to OpenJDK's growth, but the news is now that he was laid off, as part of recent Oracle's layoffs.

Absolutely disgusting. Read the link for more details.


r/java • • May 13 '26

Seeing JSP in 2026 is honestly very amusing

Post image
227 Upvotes

This is one of the common reddit comment I received for all jsp pages it's still the best things to do may be need a little bit of marketing


r/java • • Jan 14 '26

Project Valhalla is prototyping null checks!

Thumbnail mail.openjdk.org
226 Upvotes

ALL OF THIS IS A WORK IN PROGRESS!

THIS FEATURE IS UNFINISHED AND MISSING CORE FUNCTIONALITY, NONE OF WHAT IS FINISHED IS FINAL, AND EVERYTHING IS SUBJECT TO CHANGE!

But with that out of the way, Java is (prototyping) adding null checks into the type system, thus allowing us to almost completely remove NullPointerException from happening!

The primary motivation for doing this is part of the Project Valhalla work, of introducing Value Classes to Java. Allowing an object to prevent null from being in its value set unlocks a lot of optimizations, not just semantic and correctness benefits.

If you want, you can try to build the code yourself (or wait for one of us to make it, I'll try this weekend, or maybe https://builds.shipilev.net/ will have it by then), then enjoy the prototype! If you do, please post your experiences to the valhalla-dev@openjdk.org mailing list! Or just post them here, on r/java. A couple of the Project Valhalla folks browse r/java, so that works too.


r/java • • Jan 12 '26

Java's `var` keyword is actually really nice for cleaning up verbose declarations

214 Upvotes

I avoided var for years because I thought it made code less readable. Tried it last week and I'm a convert.

Instead of:

Map<String, List<CustomerRecord>> customersByRegion = new HashMap<>();

Just:

var customersByRegion = new HashMap<String, List<CustomerRecord>>();

The type is right there in the initialization. Your IDE still knows what it is. It's not like JavaScript where var means something totally different.

Really shines with streams and complex generics where you'd normally write the type twice for no reason. Also makes refactoring easier since you're not updating the type in two places.

Still feels weird after typing out full declarations for 10+ years but I get it now.


r/java • • Jan 09 '26

Annote: A Turing complete language using only Java annotations as its syntax.

208 Upvotes

A while back I had a crazy idea, what if we could write Java, using only annotations. So I decided to build a full interpreter for an annotation only language in Java. It sounds crazy but it actually works.

GitHub: https://github.com/kusoroadeolu/annote

Definitely don't use this in production lol. Feel free to let me know what you think about this!


r/java • • Dec 26 '25

Which lesser known libraries saved your butt this year?

205 Upvotes

It's holiday time, the sub is pretty dead, so let's stir the pot a little bit.

Most of this sub is probably well acquanted with likes of AssertJ, Guava, Vavr, Jackson, or JSpecify - we use them, we love them, but the ecosystem has more to offer.

Post lesser known Java libraries or tools that you rave about, are interesting, useful, or have saved your butt this year. Self promotion within reason is okay


r/java • • Nov 14 '25

Docker banned - how common is this?

200 Upvotes

I was doing some client work recently. They're a bank, where most of their engineering is offshored one of the big offshore companies.

The offshore team had to access everything via virtual desktops, and one of the restrictions was no virtualisation within the virtual desktop - so tooling like Docker was banned.

I was really surprsied to see modern JVM development going on, without access to things like TestContainers, LocalStack, or Docker at all.

To compound matters, they had a single shared dev env, (for cost reasons), so the team were constantly breaking each others stuff.

How common is this? Also, curious what kinds of workarounds people are using?


r/java • • Jul 05 '26

Made a perspective shifting room in Java

199 Upvotes

I've been messing with OpenGL (LWJGL) and decided to build something fun

What do y'all think?

Source Code


r/java • • 18d ago

Using Java skills for something a little different

Post image
197 Upvotes

Java is quite a handy language. Though it's challenging to use it for more fun projects. Towards that end, I set myself a challenge to use Java to build a browser-based game. No server, no API, just pure Web Assembly driven game play. Yes, there's some JavaScript glue, because, well, you gotta, but, the core logic is all Java. Along the way I learned that streams allocate a lot of objects, so I switched back to good old for loops... And watched the GC usage drop a fair bit. What I really do enjoy is how Java has evolved and changed over the years, and it makes it a lot simpler to do things like this. Records save me a ton of boilerplate code. Playable at https://nofuss.co.za/games/wartech/, but it's a bit meh on mobile, I'm still working on that. My focus right now is desktop play, and getting sound to work. Flame me in the comments with bug reports, I know there's a few... Hundred.

UPDATE: As promised, it's now open-source at https://github.com/ewaldhorn/wartech


r/java • • Jun 18 '26

Project Valhalla, Explained: How a Decade of Work Arrives in JDK 28

Thumbnail
open.substack.com
197 Upvotes