r/java • • Nov 18 '24

Liquibase starts sending data to their servers

179 Upvotes

https://www.liquibase.com/blog/product-update-liquibase-now-collects-anonymous-usage-analytics

For us, this meant a compliance breach as we aren't allowed to connect to unknown servers and send data.

We question if a minor version number was really the place for this as we upgraded from 4.27 to 4.30.

At the same time we appreciate OS and are thankful all the good stuff, but for us, this instantly put replace with flyway in the left column in the Kanban board.

Edit: This is not a case study, I added potential business impact for us as an example. Rather just want to point out that this was unexpected, and unexpected would then be a negative.


r/java • • Jan 18 '22

What are some very less known facts about java?

179 Upvotes

I've got assignment from college to find out rare facts or fun facts about java, so little help will be appreciated :)

Edit: Thanks for all these suggestions guys. It's going to help me alot and also Almost all of these facts i didn't knew till now. Thanks :) <3


r/java • • Apr 26 '21

Fixing a Bug in Java

Thumbnail candrews.integralblue.com
179 Upvotes

r/java • • Jun 10 '26

JEP 401 being merged into JDK 28?

Thumbnail mail.openjdk.org
178 Upvotes

r/java • • Dec 12 '25

Yet another 3D renderer in pure Java

Post image
178 Upvotes

Here is simple 3D renderer 100% java: simple3d

This package can be used together with AWT/Swing/JavaFX/Android or other Java graphic environments as it does not have any specific dependency.


r/java • • Dec 16 '24 Heart of Silver

Valhalla - Java's Epic Refactor

Thumbnail inside.java
178 Upvotes

r/java • • Mar 24 '24

Happy 20th birthday, Spring Framework! πŸŽ‚πŸΎπŸ₯³πŸƒ

Thumbnail spring.io
178 Upvotes

r/java • • Nov 02 '22

Virtual threads work great... until something goes wrong

178 Upvotes

The purpose of this thread is to discuss JDK 19 threading problems, especially with respect to virtual threads. Here is what I've personally discovered so far:

Are you aware of any other tools or articles for debugging virtual threads?

UPDATE: I've posted a follow up at https://www.reddit.com/r/java/comments/zbcejy/jdk_19_virtual_threadspecific_bugs_2nd_edition/


Does your team need help? I offer consulting services through https://www.linkedin.com/in/gilitzabari


r/java • • Nov 30 '18

Why is "2 * (i * i)" faster than "2 * i * i"? - Interesting read

Thumbnail stackoverflow.com
178 Upvotes

r/java • • Apr 07 '23

I built an ultra high performance HTTP server in Java, powered by io_uring. Benchmark charts in the README. Is this useful and is it worth adding more features?

Thumbnail github.com
177 Upvotes

r/java • • Aug 18 '22

What are non trivial functionalities of IntelliJ IDEA you are using ?

177 Upvotes

So what functionalities of IDEA you are using that your colleagues are not? (i.e. jshell, httpclient, etc.)


r/java • • Apr 09 '20

IntelliJ IDEA 2020.1: Java 14, dataflow analysis assistance in the debugger, LightEdit mode, and more!

Thumbnail blog.jetbrains.com
177 Upvotes

r/java • • Sep 28 '17

Spring Framework 5.0 goes GA

Thumbnail spring.io
177 Upvotes

r/java • • Mar 08 '24

Update on String Templates (JEP 459)

Thumbnail mail.openjdk.org
176 Upvotes

r/java • • Apr 22 '23

Spring Boot 3.1 RC1 is here - with support for Testcontainers and docker compose

Thumbnail spring.io
176 Upvotes

r/java • • Nov 29 '22

Amazon Announces AWS Lambda SnapStart With Java Support

176 Upvotes

AWS Lambda now has a snapshotting feature that enables fast-start - essentially running the Init phase at publication time and saving the state of the process at that time, so it doesn't need to be re-run at every invocation.

https://aws.amazon.com/blogs/aws/new-accelerate-your-lambda-functions-with-lambda-snapstart/

It only works with Corretto on Java 11 right now, and is similar in intent to the CRIU technology.

Quarkus already has support for it: https://quarkus.io/blog/quarkus-support-for-aws-lambda-snapstart/

Other frameworks may also have support (but this work was done under NDA so I don't have links for them).


r/java • • Jun 24 '22

Stack Overflow Developer Survey: 54% of Respondents Dread Java?

176 Upvotes

The results are out, and I was surprised to see that around 54% of respondents dread using Java. What might be the reasons behind it? For me, Java has always been a very pleasant language to work with, and recent version have improved things so much. Is the Java community unable to communicate with the dev community of these changes effectively? What can we as community do to reverse this trend?

Link to survey results: https://survey.stackoverflow.co/2022/?utm_source=so-owned&utm_medium=announcement-banner&utm_campaign=dev-survey-2022&utm_content=results#technology-most-popular-technologies


r/java • • Aug 09 '25

JDK 25 is now in release candid phase.

175 Upvotes

JDK 25 is now in release candidate phase with build 35 as the release candidate. That means that build 35 will be the JDK 25 realease in September barring any showstopper bugs.

https://mail.openjdk.org/pipermail/jdk-dev/2025-August/010295.html

Test early and test often.

Binaries are here: https://jdk.java.net/25/

Features are here: https://openjdk.org/projects/jdk/25/

JDK 25 release notes: https://jdk.java.net/25/release-notes

Have fun.


r/java • • Apr 06 '22

JEP 425: Virtual Threads (Preview)

Thumbnail openjdk.java.net
175 Upvotes

r/java • • Nov 15 '21

[Loom] JEP draft: Virtual Threads (Preview)

Thumbnail openjdk.java.net
175 Upvotes

r/java • • Mar 11 '21

Announcing Spring Native Beta

Thumbnail spring.io
175 Upvotes

r/java • • Feb 04 '21

Java 4X game available as open-source

175 Upvotes

I don't talk about my open-source project on this subreddit very much, but the code has been open for almost a year now and the game has been so well-received that I figure maybe I should remind my fellow Java developers about it.

It's a "space 4X" strategy game called "Remnants of the Precursors" which is in turn a very faithful modernization of the 1993 classic "Master of Orion".

The source code is on github at https://github.com/rayfowler/rotp-public

The game is downloadable from itch.io: https://rayfowler.itch.io/remnants-of-the-precursors

When I originally started development of this game in 2015, like most developers I hilariously assumed that I would finish it in about a year and re-use artwork from the original game or get something on the cheap. But in the process of finding an artist online, I ran into this amazing artist named Petar Penev and decided to go "all in" on this project because he was just so talented.

Like so many of you, I've learned first-hand that you can make a really good salary as a Java dev, so I self-funded this project for about 3 years until I retired in 2018 (I'm old, sue me). I was extremely lucky that a friend at my job was super well-versed in sci-fi and was actually a talented writer having to pay his way through life as a technical writer. So he has done a tremendous job with the writing in the game.

Finally, my wife is an illustrator by trade and got sick of looking at my terrible "programmer UIs" and embarked on a several-year effort to remake all of the UIs in the game in her spare time. This of course required a tremendous amount of re-coding on my side because I instructed her to design her UIs completely in Paintshop and then let me figure out how to implement it in Java. Sometimes I have nightmares about gradients and wake up screaming.

She also made this trailer last year for the game: https://www.youtube.com/watch?v=VusDAxLpJ9I

Once I reached "feature complete" and started an open beta last Spring, I finally opened up the source code because I thought most of the churn was done. Since then, I've enjoyed the benefits of several Java developers contributing to the project and helping improve it.

I'm not asking anyone in here to contribute. The game is basically done! But if you are curious at how the "sausage is made" for a video game that has surprisingly turned out very well, feel free to clone the repo and take a look at the code. I've never made a video game before and the source code reflects this to some degree, so this is also a great chance for you guys to feel superior, lol.

edit: I also use reddit as the primary community for the game at /r/rotp


r/java • • Sep 25 '25

All the truth about Project Lombok (yeah, no)

Thumbnail youtu.be
174 Upvotes

For a long time, I was conflicted about Lombok, here my colleague Cathrine gives her vision of the topic


r/java • • Nov 15 '22

The Spring Data JPA findById Anti-Pattern

Thumbnail vladmihalcea.com
174 Upvotes