java-scanner java scanner source code I run it in a linux terminal. in the terminal move to the appropriate directory where the file is located to compile in the terminal enter: javac ajs6790scanner.java to execute code, enter: java ajs6790scanner