r/java • • Feb 13 '21

my most recent Java AI book can be downloaded for free

280 Upvotes

If you would like a copy of my Java AI book, you can get a free PDF/MOBI/EPUB copy at https://markwatson.com/books/ or if you want to support my writing then you can but it on leanpub


r/java • • May 07 '21

Java beats out C++, Rust, C#, and golang in gRPC throughput performance

Thumbnail
github.com
279 Upvotes

r/java • • Mar 27 '19

IntelliJ IDEA 2019.1 Released

Thumbnail
jetbrains.com
279 Upvotes

r/java • • Jan 01 '24

JDK HTTP server handles 100,000 req/sec with 100 ms start-up time and 50 MB modular run-time image. Built with OpenJDK 21 and virtual threads,

Thumbnail
github.com
278 Upvotes

r/java • • Nov 22 '24 Helpful

Is Java "hot" right now or is it just difficult to find engineers?

277 Upvotes

I been a dev for about 10 years and I've mostly worked with Javascript (react, node) and ruby (ruby on rails.)

My degree was the "java track" so 90% of the coding was in Java and I had to build applications using Spring Boot. So I put Java in my profile and resume.

I been applying for jobs and every single one was interested in me knowing Java. They wanted a Java dev. Apparently since I already haven't used Java in production.

So... what's the deal? I'm already currently learning other skills to skill up like AWS, but it sounds like Java devs are in such need, it might be worth it to spend 3-6 months to sharpen those skills, learn the specific tools in the ecosystem, etc...

So are Java devs in high demand right now?


r/java • • Aug 03 '21

Brian Goetz: "I think Project Loom is going to kill Reactive Programming"

Thumbnail
youtube.com
277 Upvotes

r/java • • Feb 25 '21

FlatLaf 1.0 - Swing Look and Feel

277 Upvotes

FlatLaf 1.0 is here šŸŽ‰ šŸ˜€

Finally, after one and a half years of development, forty 0.x releases, 32 merged PRs, 191 closed issues and hundreds cups of coffee. šŸ˜„ It took longer than expected. Looking back at all the features already implemented, I could also name it 3.0. 😁

FlatLaf is a modern open-source cross-platform Look and Feel for Java Swing desktop applications. It comes with more than 60 themes, scales on HiDPI displays and runs on Java 8 or newer.

FlatLaf is already used in a lot of open-source and commercial applications. To name only a few: Apache NetBeans, jclasslib, KeyStore Explorer, install4j, DbVisualizer, MagicPlot, OWASP ZAP. Here is a longer list.

Many, many thanks to the community. šŸ† šŸ„‡ šŸš€ Without your feedback, support, feature requests, bug reports and pull requests, FlatLaf would not be there where it is now.

What's next? The development continues! Stay tuned... šŸ˜‰

If you like FlatLaf, please give it a star @ GitHub. Thanks!

For more information visit project on GitHub: https://github.com/JFormDesigner/FlatLaf

Looking forward to your feedback.


r/java • • Nov 28 '19

Intellij 2019.3 released!

Thumbnail
jetbrains.com
276 Upvotes

r/java • • Nov 20 '17

Humble Bundle just released a Java book bundle

Thumbnail
humblebundle.com
275 Upvotes

r/java • • May 18 '23

70% of Project Lilliput merged into openjdk:master

Post image
272 Upvotes

r/java • • Oct 21 '16

Every single time..

Post image
272 Upvotes

r/java • • Mar 18 '22

I created a Java Program to graph polar functions

Post image
271 Upvotes

r/java • • Apr 25 '21

JetBrains drops 32-bit support starting with IntelliJ 2021.2

Thumbnail
blog.jetbrains.com
271 Upvotes

r/java • • Jan 22 '21

Java is more enjoyable than I first thought

271 Upvotes

I started my years off programming in c#, don’t ask why but I never ventured off. I learned Java this past week and I’m seriously impressed, I don’t think I’ve had a more enjoyable time programming in my life. Does anyone else share this experience??

Edit: Is there a better ide than eclipse for Java


r/java • • Apr 01 '19

I built a website that shows diagrams of the Java code you drop in. Critique, please!

271 Upvotes

I always struggled to visualize my Java code, and clunky UML plugins did not help (I use Eclipse). Created something of my own instead - www.java2uml.com. I would appreciate any critique please.

Thank you!


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 • • Dec 11 '21

Have you ever wondered how Java's Logging framework came to be so complex and numerous?

269 Upvotes

If you have any information on the historical background, I would like to know. Even if it's just gossip that doesn't have any evidence left, I'd be glad to know if you remember it.


r/java • • Dec 29 '21

Why everyone hates Java?

268 Upvotes

I dont understand why java is one of the most dreaded lenguages. Java got fantastics frameworks and libraries to work with it. I dont know if im skipping something or I dont work enough with Java because I like java. What do you think??

Here is the Stack Overflow Survey


r/java • • Jun 20 '21

MaterialFX, an open source library for JavaFX

268 Upvotes

I started learning JavaFX about 1 year ago. At the time, the first thing I did was to search for a good library that would make JavaFX controls not suck aesthetically, and so I discovered JFoenix.
It was pretty good actually, but I didn't like it because it relies too much on reflection and that often ended up in exceptions occurring and broken controls, and this was true especially with newer JDK versions.

It was at that moment that I said, "screw it, I'm going to make my own library".
Eight months ago, MaterialFX was born. I always wanted to post my project here but at the same time I always thought "maybe it's better to still wait a bit and make the project evolve some more". Recently I pushed the biggest update so far and I finally decided to post my work here.

MaterialFX is a library that brings restyled, remade and brand-new controls to JavaFX. As the name suggests, the intention is to follow as much as possible the Material Design guidelines or at least to give controls a modern look and feel.
It targets Java 11+, it's much more stable as reflection is not used anywhere, and it's fully compatible with newer SceneBuilder versions. It is licensed under the GPLv3, but soon this will change to a more open license, probably LGPL.

  1. Restyled controls are simply re-skinned, but most of them also include new features.

  2. Remade controls introduce the concept of Legacy. Some JavaFX controls were so badly written/designed that I had to re-create them from scratch. However, I thought that it would be a good idea to also keep JavaFX original controls. So the remade controls have a legacy counterpart that is of course restyled. Some examples of this type are combo boxes, list views.

  3. Brand-new controls are made from scratch, as they do not extend from any JavaFX base control. As of now there are not many, but I plan to add many more in the future.

The library also includes a lot of utlities from StringUtils, AnimationUtils(coming soon), NodeUtils and many others.

The project is hosted here MaterialFX. On the same page, you can download the demo from the Releases section, or you can take a look at the controls in the "Preview GIFs" section of the README.md. You can also take a look at the project roadmap (next features and improvements) in the ROADMAP.md file.


r/java • • Oct 31 '25

Has Java suddenly caught up with C++ in speed?

267 Upvotes

Did I miss something about Java 25?

https://pez.github.io/languages-visualizations/

https://github.com/kostya/benchmarks

https://www.youtube.com/shorts/X0ooja7Ktso

How is it possible that it can compete against C++?

So now we're going to make FPS games with Java, haha...

What do you think?

And what's up with Rust in all this?

What will the programmers in the C++ community think about this post?
https://www.reddit.com/r/cpp/comments/1ol85sa/java_developers_always_said_that_java_was_on_par/

News: 11/1/2025
Looks like the C++ thread got closed.
Maybe they didn't want to see a head‑to‑head with Java after all?
It's curious that STL closed the thread on r/cpp when we're having such a productive discussion here on r/java. Could it be that they don't want a real comparison?

I did the Benchmark myself on my humble computer from more than 6 years ago (with many open tabs from different browsers and other programs (IDE, Spotify, Whatsapp, ...)).

I hope you like it:

I have used Java 25 GraalVM

LanguageCold ExecutionĀ (No JIT warm-up)Execution After Warm-upĀ (JIT heating)
JavaVery slow without JIT warm-up~60s cold
JavaĀ (after warm-up)Much faster~8-9sĀ (with initial warm-up loop)
C++Fast from the start~23-26s

https://i.imgur.com/O5yHSXm.png

https://i.imgur.com/V0Q0hMO.png

I share the code made so you can try it.

If JVM gets automatic profile-warmup + JIT persistence in 26/27, Java won't replace C++. But it removes the last practical gap in many workloads.

- faster startup āž no "cold phase" penalty
- stable performance from frame 1 āž viable for real-time loops
- predictable latency + ZGC āž low-pause workloads
- Panama + Valhalla āž native-like memory & SIMD

At that point the discussion shifts from "C++ because performance" āž "C++ because ecosystem"
And new engines (ECS + Vulkan) become a real competitive frontier especially for indie & tooling pipelines.

It's not a threat. It's an evolution.

We're entering an era where both toolchains can shine in different niches.

Note on GraalVM 25 and OpenJDK 25

GraalVM 25

  • No longer bundled as a commercial Oracle Java SE product.

  • Oracle has stopped selling commercial support, but still contributes to the open-source project.

  • Development continues with the community plus Oracle involvement.

  • Remains the innovation sandbox: native image, advanced JIT, multi-language, experimental optimizations.

OpenJDK 25

  • The official JVM maintained by Oracle and the OpenJDK community.

  • Will gain improvements inspired by GraalVM viaĀ Project Leyden:

    • faster startup times

    • lower memory footprint

    • persistent JIT profiles

    • integrated AOT features

Important

  • OpenJDK isĀ not ā€œgetting GraalVM insideā€.

  • Leyden adoptsĀ ideas, not the Graal engine.

  • Some improvements land in Java 25; more will arrive in future releases.

ConclusionĀ Both continue forward:

RuntimeFocus
OpenJDKStable, official, gradual innovation
GraalVMCutting-edge experiments, native image, polyglot tech

Practical takeaway

  • For most users → Use OpenJDK

  • For native image, experimentation, high-performance scenarios → GraalVM remains key


r/java • • Nov 24 '22

Spring Boot 3.0 is GA!

Thumbnail
spring.io
267 Upvotes

r/java • • Dec 16 '15

Installer like it's 1999

Thumbnail
imgur.com
267 Upvotes

r/java • • Sep 18 '24

Java 23 has arrived

Thumbnail
blogs.oracle.com
266 Upvotes

Markdown in Javadoc and 11 other enhancements.


r/java • • Mar 11 '23

When I read this line in The Pragmatic Programmer, it immediately made me think of "Clean Code".

Post image
266 Upvotes