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:
co-authored by
Claude Sonnet 5.5
parent
7c677a39d2
commit
ddc3ec9d90
@@ -0,0 +1,34 @@
|
||||
# Cold run (empty JBang cache) then warm run, same script
|
||||
$ jbang Hello.java Ankur
|
||||
[jbang] Building jar for Hello.java...
|
||||
Hello, Ankur!
|
||||
Running on Java 25 (Eclipse Adoptium)
|
||||
[wall clock: 5.745s]
|
||||
|
||||
$ jbang Hello.java Ankur
|
||||
Hello, Ankur!
|
||||
Running on Java 25 (Eclipse Adoptium)
|
||||
[wall clock: 2.338s]
|
||||
|
||||
$ jbang info tools Hello.java
|
||||
{
|
||||
"originalResource": "Hello.java",
|
||||
"backingResource": "/tmp/work/jbang/Hello.java",
|
||||
"applicationJar": "/tmp/tmp.RXxYNQBWOn/cache/jars/Hello.java.af0224835723899ff208d77a8e96fa9f8c064e617b7dbc225df29b5021aab8a0/Hello.jar",
|
||||
"mainClass": "Hello",
|
||||
"resolvedDependencies": [],
|
||||
"javaVersion": "25",
|
||||
"requestedJavaVersion": "25+",
|
||||
"availableJdkPath": "/tmp/tools/jdk-25.0.5.1+2",
|
||||
"compileOptions": [
|
||||
"-g",
|
||||
"-parameters"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"originalResource": "Hello.java",
|
||||
"backingResource": "/tmp/work/jbang/Hello.java"
|
||||
}
|
||||
],
|
||||
"docs": {}
|
||||
}
|
||||
Reference in New Issue
Block a user