frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Zero JDK – Java builds without installing Java

https://github.com/julien-may/zero-jdk
1•julien-may•4h ago
Zero JDK is a POSIX-compliant shell script that bootstraps a Java project by downloading and setting up the required JDK (via a custom URL in .jdk/config.properties). It works without needing Java installed globally.

It also supports installing Maven or Gradle wrappers, so that a new contributor or CI runner can clone the repo, run ./build init, and build the project without touching system state.

I made this because I kept jumping between projects with different JDK versions, and I wanted a zero-dependency way to ensure reproducible builds. Inspired by the simplicity of scripts like mvnw or gradlew, but extended to also bootstrap the JDK itself.

It currently supports macOS and Linux. Curious if others find this useful and happy for feedback or contributions.

Comments

gavinray•2h ago
Gradle wrapper scripts when combined with the new-ish Gradle Toolchains feature already fetch both Gradle and the required JDK version, though?

https://docs.gradle.org/current/userguide/toolchains.html#se...

  > Using Java toolchains allows Gradle to automatically download and manage the required JDK version for your build.
julien-may•2h ago
You’re absolutely right! Gradle’s toolchain support is a great step forward, and I really like how it can now manage JDKs automatically based on build requirements.

That said, the key difference here is when the JDK is provisioned. Gradle’s toolchain support assumes you already have a working Java runtime to start Gradle itself. So on a fresh machine (or CI container) without Java, the build still won’t start.

Zero JDK is meant to handle that very first step by making it possible to init in a repo without requiring Java, Maven, or Gradle to be installed at all. It’s basically a lightweight bootstrapper that bridges the gap before the build tools kick in.

That said, thanks for sharing. I wasn’t even aware how far Gradle toolchains has come recently. Definitely something I’ll explore further!

A map of the distributed data systems landscape

https://dataintensive.net/poster.html
1•mooreds•2m ago•0 comments

Tensegrity

https://en.wikipedia.org/wiki/Tensegrity
1•RetroTechie•3m ago•0 comments

The Dyson PencilVac Fluffycones cleaner [video]

https://www.youtube.com/watch?v=ve6JuJV17FQ
1•simonebrunozzi•5m ago•0 comments

Ask HN: Why that many more US-based companies are hiring "US-only" remote?

3•soneca•7m ago•0 comments

Show HN: I built an offline VIN decoder using the NHTSA vPIC dataset

https://github.com/cardog-ai/corgi
1•samsullivan•7m ago•0 comments

Gateway Plaza Revitalizes and Future Proofs

https://indyweek.com/food-and-drink/gateway-plaza-revival/
1•janandonly•8m ago•0 comments

Ask HN: Is this Tetris variant novel? Would it be fun?

1•amichail•14m ago•1 comments

The Beef Programming Language

https://www.beeflang.org/
1•Fervicus•16m ago•0 comments

Automated Verification of Monotonic Data Structure Traversals in C

https://arxiv.org/abs/2505.18818
1•MarcoDewey•21m ago•0 comments

Digital Emblems (Diem)

https://datatracker.ietf.org/group/diem/about/
1•mrzool•23m ago•0 comments

Why learn Lisp in 2025? (YouTube)

https://www.youtube.com/watch?v=GWdf1flcLoM
2•fuzztester•26m ago•1 comments

China Parcels

https://chinaparcels.com/
2•PostTrack•27m ago•1 comments

Against Life Extension

https://www.persuasion.community/p/against-life-extension
2•anigbrowl•30m ago•0 comments

Show HN: Nomocrunch Tax Navigator – Free, Simple Tax Estimator for Freelancers

https://nomocrunch.com/tax-navigator
2•frugalHacker•32m ago•0 comments

Show HN: TradesPurple – Save and share the tradespeople you trust

https://tradespurple.com/
1•MaxTB•33m ago•0 comments

Show HN: Simulating Bigtable in BigQuery as a Type 2 SCD (100k+ mutations/sec)

https://www.statsig.com/blog/simulating-bigtable-in-bigquery
3•experimentctrlz•35m ago•0 comments

The two types of open source

https://filiph.net/text/two-types-of-open-source.html
2•thunderbong•37m ago•0 comments

Teaching GPT to Play Chess

https://app.chesscoach.dev/
1•anantdole•41m ago•1 comments

Show HN: My LLM CLI tool can run tools now, from Python code or plugins

https://simonwillison.net/2025/May/27/llm-tools/
26•simonw•41m ago•10 comments

Gen AI and Games Podcast: On Device Inference

https://www.youtube.com/watch?v=eTY4jI3wW8c
1•huevosabio•42m ago•0 comments

How Is a Cult Defined and How Can People Get Out?

https://huijzer.xyz/posts/89
1•huijzer•42m ago•0 comments

Made a Changelog generator for your commits

https://www.gitsaga.io/
1•p_bits•47m ago•1 comments

How a Generation's Struggle Led to a Record Surge in Homelessness

https://www.nytimes.com/2025/05/27/us/politics/homelessness-baby-boomers.html
2•howard941•48m ago•0 comments

Starship's Ninth Flight Test

https://x.com/i/broadcasts/1OwxWXMRAXmKQ
1•seagull_sounds•50m ago•0 comments

Inside the Arnett, OK tornado [video]

https://www.youtube.com/watch?v=NGD2e741Riw
1•layer8•51m ago•0 comments

Squiggle: A simple programming language for intuitive probabilistic estimation

https://www.squiggle-language.com/
1•fanf2•52m ago•0 comments

Fundamental forms for characterizing trapezoid-based origami metamaterials

https://www.nature.com/articles/s41467-025-57089-x
1•PaulHoule•53m ago•0 comments

Show HN: I Vibecoded a Python Class Hierarchy Checker (Needs Your Eyes)

https://github.com/agaz1985/umberto
1•adale•54m ago•0 comments

Show HN: Getting full-text scientific content into LLMs+Agents is stupidly hard

https://www.valyu.network/blogs/deepsearch-v2-updates
3•zk108•56m ago•2 comments

LLM Pricing Calculator

https://www.llm-prices.com/
2•Bluestein•58m ago•0 comments