Standalone Jdk.compiler, Java Compiler Framework and Tree API
With this standalone compiler, you can rely on all Java 11 javac features to be available, even when using newer Java versions. Specifically, this allows you to: - compile code even if your Java environment isn't a full JDK (Java JRE, for example!) - target Java 1.7 for compilation without any warnings or restrictions. - use the Compiler Tree API without resorting to --add-opens trickery that may eventually fail in newer Java releases - build a modified compiler with additional features or custom tweaks I made this after finding that the otherwise superb "jsweet" Java-to-JavaScript…
Standalone Jdk.compiler, Java Compiler Framework and Tree API launched on October 10, 2023 with 69 votes, #1,174 of 4,393 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 3 years on.
In plain words
Standalone Jdk.compiler is a standalone Java compiler that provides Java 11 javac features independently of the Java version running it. It enables compilation in non-JDK environments like Java JRE, targets Java 1.7 without warnings, offers access to the Compiler Tree API without workarounds, and allows building customized compilers with additional features. Developers can use it to compile Java code reliably across different Java runtime versions.
written from the facts on this page · September 2026
From the sources
Standalone jdk.compiler / JDK javac Compiler Framework + Compiler Tree API - kohlschutter/jdk.compiler.standalone
In the maker’s words, at launch
With this standalone compiler, you can rely on all Java 11 javac features to be available, even when using newer Java versions. Specifically, this allows you to: - compile code even if your Java environment isn't a full JDK (Java JRE, for example!) - target Java 1.7 for compilation without any warnings or…
Does a similar job
all alternatives →
How to write a tiny compiler2017 · blog.klipse.tech · ▲224Write your own compiler: introduction. Code genetation. AST. Abstract syntax tree. lisp. javascript.
A self-hosted js compiler in 1k loc2017 · github.com · ▲47Minimal self-hosted JavaScript compiler in 1k lines of code - maierfelix/mini-js

My C compiler compiled itself2024 · github.com · ▲275One of the most challenging projects of my life :)
- IWI wrote a .NET to JS compiler. Here's an XNA demo compiled to JS.2011 · hildr.luminance.org · ▲103
A work-in-progress C compiler from scratch2021 · github.com · ▲159Programming language that compiles into a x86 ELF executable. - riicchhaarrd/ocean
More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 27d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 25d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 22d ago · openbot.run
Talanoa▲340Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 20d ago · talanoa.email
CoreSpeed▲332One MCP for everything your agents need: apps, memory, tools
Dev tools · 27d ago · corespeed.io
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, October 2023
the whole month →
Nudge 2.0▲1,051In-app experiences to activate, retain, & understand users
Growth · 2023 · nudgenow.com


Unlock AI magic for elevated customer engagement, fast
AI · 2023 · tiledesk.com


Effortlessly discover API behaviour with a Chrome extension that automatically generates OpenAPI specifications in real time for any app or website.
Dev tools · 2023 · github.com