# Java standard library

7 Hacker News commenters recommended Java standard library and 3 criticized it, November 2025 to November 2026. It was recommended in 4 of 13 months.

**Verdict:** Capable built-in library with a strong collections package, useful for much work without extras. Critics call its quality uneven and say it lacks JSON parsing.

## Why people recommend it

- Capable, strong built-in library (2 comments): "The original Java standard class library is very capable, and you can do a lot using just 20+ years old classes." ([source](https://news.ycombinator.com/item?id=48204952)) "A big selling point of Java also was a very strong built-in library" ([source](https://news.ycombinator.com/item?id=49383999))
- Strong collections and data structures (2 comments): "I prefer Java's standard library because atleast it has a generic Set data structure in it" ([source](https://news.ycombinator.com/item?id=45940945)) "the collections library in the Java standard lib was second to none" ([source](https://news.ycombinator.com/item?id=48131435))

## What people warn about

- Quality seen as weak or uneven (2 comments): "the Java stdlib has historically been pathetic in its quality - you still can't parse json" ([source](https://news.ycombinator.com/item?id=49395249)) "while there may be a big stdlib, it ends up being less useful" ([source](https://news.ycombinator.com/item?id=46543289))

## Alternatives hackers recommend

- [Go standard library](https://hackerapproved.com/p/go-standard-library.md): 34 recommend
- [C++ Standard Library](https://hackerapproved.com/p/c-plus-plus-standard-library.md): 15 recommend
- [Python standard library](https://hackerapproved.com/p/python-standard-library.md): 13 recommend
- [Rust standard library](https://hackerapproved.com/p/rust-standard-library.md): 12 recommend
- [Micron C++ standard library](https://hackerapproved.com/p/micron.md): 5 recommend

## Cite as

Hacker Approved, "Java standard library", https://hackerapproved.com/p/java-standard-library/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
