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

#Java #JBang #DevTools

I think I will be removing #JBang from all my my #Java script programs. JEP 458 and 512 are all I need in the end anyway.

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/

Creating a Wikipedia MCP Server in Java in a Few Prompts with Skills

Tech blog of Guillaume Laforge, with articles on generative AI, LLMs, cloud computing, microservices architecture, serverless solutions, Java and Apache Groovy programming

The Scripting Dilemma If you're like me, as a Java developer, you struggle to remember bash or python syntax for quick scripts. You end up "vibe coding" it, then struggle again when you need to adapt it. If only you could write it in Java! You might say "Java is not for scripting" and "I…...
#CLIscript #Java #Javascripting #JBang #PicoCLI #script
https://foojay.io/today/java-for-scripting/
How to Use Java as a Scripting Language

Discover how Java has evolved into a powerful scripting language, eliminating boilerplate and enabling instant execution for automation tasks

foojay

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

#Java #AI #DevTools #JBang #AIagents

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

#Java #JReleaser #JBang #Maven #OpenSource

@aalmiray I should have followed mastodon more closely; we could have exchanged about #JBang and/or #Gradle at #JavaLand. Maybe next year. 😅

RE: https://mastodon.social/@borkdude/116115371711348205

"Cream can run .java source files directly, compiling and caching them automatically. This makes it a fast alternative to #JBang."

#clojure #java #babashka

Java still feels “too heavy” for quick learning? @igfasouza shows how #Java25 + #JEP512, #JBang & notebooks make experimentation fast—then connects it to real hardware via #RaspberryPi + #GraalPy.

Try the stack: https://javapro.io/2026/01/15/java-25-jep-512-jbang-notebooks-graallpy-and-raspberry-pi-for-interactive-learning/