piston/packages/java/21.ea.22/run

8 lines
133 B
Bash

#!/usr/bin/env bash
# Put instructions to run the runtime
mv $1 $1.java
filename=$1.java
shift
java --enable-preview $filename "$@"