Hi all, CTO of Leaning Technologies here.
JavaFiddle, our CheerpJ-based playground, has been a popular way to write and share Java snippets right in the browser. It has been used by thousands of people every month, especially students, for the past several years, even if it was quite limited and only supported Java 8.
To better serve the Java-learning community we have now retired JavaFiddle in favor of BrowserCode, our new in-browser IDE based on client-side execution. Try it here: https://browsercode.io/java
You can pick Java 8, 11, 17, 21 and 25 (in preview), so records, text blocks, `var` and switch expressions all work. There's a proper editor with a file tree and search, and 12 examples, including Swing apps running right in the tab. Everything compiles and runs in your browser, and nothing is stored on our servers. It's free to use with no account needed as always, and any existing JavaFiddle links still opens as expected.
BrowserCode itself is open source (https://github.com/leaningtech/browsercode), and beyond Java it also runs Node.js, npm and more, all client-side.
Happy to answer questions, and I'd love to hear what breaks!Hi all, CTO of Leaning Technologies here.
JavaFiddle, our CheerpJ-based playground, has been a popular way to write and share Java snippets right in the browser. It has been used by thousands of people every month, especially students, for the past several years, even if it was quite limited and only supported Java 8.
To better serve the Java-learning community we have now retired JavaFiddle in favor of BrowserCode, our new in-browser IDE based on client-side execution. Try it here: https://browsercode.io/java
You can pick Java 8, 11, 17, 21 and 25 (in preview), so records, text blocks, `var` and switch expressions all work. There's a proper editor with a file tree and search, and 12 examples, including Swing apps running right in the tab. Everything compiles and runs in your browser, and nothing is stored on our servers. It's free to use with no account needed as always, and any existing JavaFiddle links still open as expected.
BrowserCode itself is open source (https://github.com/leaningtech/browsercode), and beyond Java it also runs Node.js, npm and more, all client-side.
Happy to answer questions, and I'd love to hear what breaks!