I am new to this and taking a course to learn spark. While completing one of the exercise - Below is the github code link. I am running into error when I try to saveText file. Screen shots of the error attached.
Last screen shot is the error I see post installing java-jdk