From 9fe7c6f9697b5bbf3041261fdc60040e75cc674f Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Sun, 15 Nov 2026 16:11:39 -0800 Subject: Split off chapter 31 Ch 32 will be focused on compiler performance issues. --- chapter32/simple.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 chapter32/simple.sh (limited to 'chapter32/simple.sh') diff --git a/chapter32/simple.sh b/chapter32/simple.sh new file mode 100644 index 00000000..32552ecc --- /dev/null +++ b/chapter32/simple.sh @@ -0,0 +1,12 @@ +#! /bin/sh +here=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) +release="$here/build/release" +jar="$release/Simple.jar" + +if command -v cygpath >/dev/null 2>&1; then + release=$(cygpath -w "$release") + jar=$(cygpath -w "$jar") +fi + +export SIMPLE_HOME="${SIMPLE_HOME:-$release}" +exec java -jar "$jar" "$@" -- cgit v1.2.3