Java 27 and 26: runnable demos and captured output for every JEP, plus version lanes
Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01B38FGKKam5SCGgwgduVAh3
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
# Where the JDKs live. Override on the command line: JDK27=/path/to/jdk-27 ./scripts/run-all.sh
|
||||
# Every demo that compares releases needs BOTH a JDK 26 and a JDK 27 on disk.
|
||||
export JDK25="${JDK25:-/opt/jdks/jdk-25.0.4.1+1}"
|
||||
export JDK26="${JDK26:-/opt/jdks/jdk26}"
|
||||
export JDK27="${JDK27:-/opt/jdks/jdk27}"
|
||||
# Container demos use these images (same vendor for both releases, so the only variable is the JDK version).
|
||||
export IMG26="${IMG26:-amazoncorretto:26}"
|
||||
export IMG27="${IMG27:-amazoncorretto:27}"
|
||||
# The JVM prints "Picked up JAVA_TOOL_OPTIONS" on every launch in some sandboxes; it is noise in a transcript.
|
||||
unset JAVA_TOOL_OPTIONS
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
export ROOT
|
||||
OUT="$ROOT/docs/output"; mkdir -p "$OUT"; export OUT
|
||||
# The 21 -> 25 lane demos (lanes.sh) also need a JDK 21.
|
||||
export JDK21="${JDK21:-/opt/jdks/jdk21}"
|
||||
Reference in New Issue
Block a user