Oi Otávio, tentei colocar todo o texto aqui mas não foi tudo...
Vou colocar a parte inicial pra ver se ajuda...
MacBook-Air-de-Rainer:java-codigo Rainer$ pwd
/Users/Rainer/Desktop/java-codigo
MacBook-Air-de-Rainer:java-codigo Rainer$ javac Programa.java
Programa.java:1: error: class, interface, or enum expected
{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf600
^
Programa.java:1: error: illegal character: '\'
{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf600
^
Programa.java:1: error: illegal character: '\'
{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf600
^
Programa.java:1: error: illegal character: '\'
{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf600
^
Programa.java:1: error: illegal character: '\'
{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf600
^
Programa.java:1: error: illegal character: '\'
{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf600
Conferencias que fiz...
MacBook-Air-de-Rainer:java-codigo Rainer$ javac -version
javac 1.8.0_221
nome do diretório: java-codigo (sem acento e sem underline)
Extensão esta como .java