Unexpected token error

Hi I’m following the Java fundamental course and on video 4 and I’m getting this error:

What’s going on?

This is being run in the terminal

Don’t type the $ - it’s part of Mosh’s prompt. The command is javac not $javac.