Java Playground: Online Java REPL
There's a new Java REPL in town, this one hosted by Oracle and supporting Java 21: The Java PlaygroundWhat Is It?
The Java Playground lets you run small Java snippets in your browser. Output is shown below the code, much like other REPL tools online. It includes several sample snippets illustrating new features in Java 21.How Does It Work?
Every 'run' click sends data to an 'execute' service, so it appears the code is being executed on the backend. Responses are quick, around 1s. The About box says it runs on Oracle JDK 21 with Preview features enabled.Copyright © 2024 Andrew Oliver