fish/functions/headless_java.fish @ 953ea9d04afd

More
author Steve Losh <steve@stevelosh.com>
date Thu, 22 Jun 2023 16:01:46 -0400
parents ec4852a72664
children (none)
function headless_java -d "Put Java into headless mode"
    echo "Changing _JAVA_OPTIONS"
    echo "from: $_JAVA_OPTIONS"
    set -g -x _JAVA_OPTIONS "-Djava.awt.headless=true"
    echo "  to: $_JAVA_OPTIONS"
end