系統:ubuntu22.04
安裝參考來源:https://computingforgeeks.com/how-to-install-apache-groovy-on-ubuntu/
sudo apt update
sudo apt install -y default-jdk unzip zip
curl -s get.sdkman.io | bash
參考來源:https://code-maven.com/groovy-hello-world
println "Hello World!"
附圖: