what if I combine AppleScript with Java
module Main on main (String array: args) tell System tell out to println "Hello, world!" end tell end run end module