Add jbang: single-file Java with JBang 0.132.1 on JDK 25 (deps, compact source files, Spring Boot, templates, native)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b6ZEVHGaYy15HAxRzy
This commit is contained in:
Ankur Mhatre
2026-12-01 08:20:46 +05:30
co-authored by Claude Sonnet 5.5
parent 7c677a39d2
commit ddc3ec9d90
34 changed files with 639 additions and 0 deletions
@@ -0,0 +1,8 @@
$ jbang SpringApp.java
[log lines that matter, timestamps/PIDs trimmed]
INFO demo.SpringApp : Starting SpringApp using Java 25.0.5.1 with PID 22275 (/tmp/tmp.RXxYNQBWOn/cache/jars/SpringApp.java.3f7221da265b2f6554670ab927989c9962b804151b313b88dc6e785f1aba42b3/SpringApp.jar started by root in /tmp/work
INFO o.s.boot.tomcat.TomcatWebServer : Tomcat started on port 8089 (http) with context path '/'
INFO demo.SpringApp : Started SpringApp in 4.875 seconds (process running for 5.977)
$ curl -s localhost:8089/hello
Hello from a single-file Spring Boot app