2
respostas

Não esta executando o "ola mundo"

C:\Desenv\Alura\java>java programa Picked up JAVAOPTIONS: -Djava.net.preferIPv4Stack=true Error: Could not find or load main class programa Caused by: java.lang.ClassNotFoundException: programa

C:\Desenv\Alura\java>java -version Picked up JAVAOPTIONS: -Djava.net.preferIPv4Stack=true java version "11.0.13" 2021-10-19 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.13+10-LTS-370) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.13+10-LTS-370, mixed mode)

2 respostas

Qual versao do java esta instalado na sua maquina ?

C:\Desenv\Alura\java>java -version Picked up JAVAOPTIONS: -Djava.net.preferIPv4Stack=true java version "11.0.13" 2021-10-19 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.13+10-LTS-370) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.13+10-LTS-370, mixed mode)