exec:
java GetHostName localhost
>
java GetHostName localhost