Tired of “create project → configure build → wait” just to test an idea in #Java? #Java25 + #JEP512 + #JBang make Java feel closer to scripting—and notebooks + #RaspberryPi turn it into a real learning lab.
Read the roadmap by @igfasouza: https://javapro.io/2026/01/15/java-25-jep-512-jbang-notebooks-graallpy-and-raspberry-pi-for-interactive-learning/

Part of my daily work is to create instructions for workshops, and labs. One of the things in that entire content creation process, is to take screenshots and matching instructions and inorder to do that sometimes I need to add arrows, boxes, etc.. Using something like Google docs is pretty easy at that point, drag the screen shot create the overlay items. This time around I ended up having tons of such slides (a little over exaggeration). The next problem, download them as PNG files to add to the instructions. Out of all the nice usability tricks Google docs does not allow me to optimize on this. So I have to download one slide image at a time. yes really!! Well that was some rant, but hey now we have a JBang script that will do the rest. :)
Cargo scripts now seem to work seamlessly with the Rust Analyzer in VS Code—provided that the settings.json file is configured correctly. This is quite handy, as it means Rust and VS Code can now be used effectively for writing scripts.
I mean, it's been a while since I last tried that, and it didn't work back then. Nice. 😍
#rustlang #cargo #jbang #scalacli
https://gist.github.com/leobm/0eb886ba9c932ec2b5904e2218fd6ce0
Java is becoming a better scripting language without becoming a toy scripting language. JBang, modern Java, and better packaging make it a serious option for automation that should survive past Friday.
https://www.the-main-thread.com/p/java-is-the-new-python-jbang-java-21
It still amazes me how easy & fast it is to create #MCP servers in #Java with #jbang, #langchain4j and a custom skill inside #geminicli
A handful of prompts, and less than 5 minutes later, I had created a working #Wikipedia MCP server!
https://glaforge.dev/posts/2026/04/02/creating-a-wikipedia-mcp-server-in-java-in-a-few-prompts/
AI agents behave much more like terminal users than API clients.
So it’s not surprising that CLI tools often outperform MCP integrations for many workflows.
For Java developers this opens an interesting path:
JBang + small CLI tools as agent capabilities.
I wrote a deep dive here:
https://www.the-main-thread.com/p/ai-agents-cli-tools-jbang-java-architects
Most Java CLI tools stop at mvn compile exec:java.
That works locally. It doesn’t scale.
In this guide I show how to:
- build a fat JAR
- automate GitHub releases
- publish a JBang catalog
- install with one command
No cloning. No Maven required.
Full tutorial:
https://www.the-main-thread.com/p/ship-java-cli-jreleaser-jbang-github-release