piston/packages/java/20.valhalla.20.75/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 "$@"