#!/bin/dash

VERSION=$(Xdialog --no-tags \
				  --stdout \
				  --title "Get Java" \
				  --radiolist "Choose version to download:" 0 0 3 '8' '8' true '11' '11' false '12' '12' false)
[ $? -ne 0 ] && exit

export VERSION
defaultterm -e getjava.sh
