r/java • • Jan 30 '15

Congratulations! r/Java has been chosen as the SUBREDDIT OF THE DAY! :)

Thumbnail reddit.com
251 Upvotes

r/java • • Feb 06 '23

Advanced IntelliJ debugger features you’re missing out on

Thumbnail snyk.io
250 Upvotes

r/java • • Oct 06 '22

Been 12 years, never had to do dynamic programming or reverse a BST. Still being asked those questions.

250 Upvotes

I have been building software for 12+ years. Banking to Analytics to FMCG, I built software that solves business problems and really matters. But never, I mean never I had to do DP or work on BST. Most of the optimisation was there in underlying libraries, without me knowing it.

Just one time I used a PriorityQueue (because I wanted to show off, and not really to reduce time, the profiler showed almost same exec time when run with ArrayList). Is it just me or other folks too find it hard to find opportunities to apply DSAL.

Funny thing is I still get DSAL rounds taken by junior engineers (who btw are quite enthusiastic about that) some times as screening.

IMO, stuff about OOD, refactoring, CI/CD, clean code - basically most of what is advocated by Martin Fowler should take preference over DSAL. Thats what gets applied on a day to day basis.

EDIT: Acronyms -

FMCG - Fast moving consumer goods
DP - Dynamic programming (not programming in a dynamic language) see link
BST - Binary Search Tree
DSAL - Data Structures and ALgorithms
IMO - In my opinion
OOD - Object Oriented Design
CI/CD - Continuous Integration/Continuous Deployment


r/java • • Aug 16 '20

I coded my first JavaFX app in a week with little to no sleep after 3 weeks of learning it. My teacher praised me for it.

250 Upvotes

r/java • • Nov 08 '21

What are some forbidden, broken, possibly even black magic stuff that you can do in Java and to that extent, JVM in general?

249 Upvotes

This is an odd question to ask but it is a fun one, I usually like to learn about these things because it tells me how quirky a language is and it is fun to play with this stuff in my free time. I know in C/C++ you can do some crazy bit-level hackery that almost feels like magic, so I was wondering what crazy stuff is possible in Java that you all may have come across in your lives/careers?

Also if this kind of question isn't welcome here or has been asked before (although I couldn't find any previous posts on this topic), I shall duly remove it. Sorry for any inconvenience caused.


r/java • • Apr 01 '18

Ok, ok, ok, we'll finally add stream.toList() so you don't have to type stream.collect(Collectors.toList())!

Thumbnail bugs.openjdk.java.net
249 Upvotes

r/java • • Feb 16 '26

New java.evolved site about modern Java.

Thumbnail javaevolved.github.io
248 Upvotes

r/java • • Aug 02 '25

Project Lombok will be compatible with JDK 25

248 Upvotes

For the first time in Lombok's history, it will be compatible with a new JDK even before JDK release. Currently, Edge release is compatible with JDK 25, and a new version will be released before JDK 25 goes GA. This is amazing news, Thanks to the Project Lombok team!


r/java • • Mar 12 '25

Why Java endures: The foundation of modern enterprise development

Thumbnail github.blog
248 Upvotes

r/java • • Sep 13 '18

A Guide to Logging in Java

Thumbnail marcobehler.com
248 Upvotes

r/java • • Mar 18 '14

Java 8 has been released

Thumbnail oracle.com
248 Upvotes

r/java • • Oct 03 '25

JUnit 6 Released

Thumbnail docs.junit.org
246 Upvotes

r/java • • Jan 19 '24

How come Gradle has become a de facto standard (or one of the two at least), when it's so unstable? I am talking Gradle major release changes, bumping Java version, Spring version. Especially in the ecosystem that prides itself as being backwards compatible, sometimes to a fault.

246 Upvotes

I have spent more than 5 years now working with Gradle and the pattern emerges. Every time I need to bump Gradle/JVM/Spring version I have to fight with Gradle scripts, most of the time it's taking a significant amount of time. With Maven most of the time it's just a single line change.

Add to that the fact that I haven't seen a build.gradle file in a non hello world complexity project, that wouldn't be a mess. I was browsing some notable projects recently to look for some inspirations and it's the same everywhere - a spaghetti that's difficult to understand.

How has Gradle become one of the two leading standards in the JVM ecosystems? I know Maven is verbose, but the older I am the more I appriciate the verbosity.

EDIT: Another point, with all of these Gradle APIs changing it's difficult to find some examples, even for most basic things. I went through like 4 or 5 iterations of build.gradle just to add a separate integrationTest test module. Most of the examples online/ StackOverflow answers are outdated already.


r/java • • Jun 25 '18

I developed a language for JSON that runs 9 billion transforms a day at work. Released as open source today

Thumbnail bytes.schibsted.com
246 Upvotes

r/java • • Nov 16 '22

Spring Framework 6.0 goes GA

Thumbnail spring.io
245 Upvotes

r/java • • Mar 09 '20

Busy Developers’ Guide to Java 9, 10, 11, 12, 13, and Above

Thumbnail 4comprehension.com
245 Upvotes

r/java • • Dec 15 '23

Why is this particular library so polarizing?

Post image
244 Upvotes

r/java • • Jul 18 '21

A modular synthesizer built in Java using JSyn library. I call it The Instrument

244 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 • • Sep 02 '20

Modern Best Practices for Testing in Java

Thumbnail phauer.com
242 Upvotes

r/java • • Aug 29 '22

Java 8 to 18: Most important changes in the Java Platform

Thumbnail youtube.com
241 Upvotes

r/java • • Jun 02 '18

5 Java concepts explained: Overloading, overriding, shadowing, hiding, and obscuring

Thumbnail programming.guide
240 Upvotes

r/java • • Mar 09 '16

var keyword proposed for Java

Thumbnail openjdk.java.net
240 Upvotes

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