Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

385
Visualizações
Continuously getting the java: invalid source release: 1.9 error when compiling

I have attempted to fix this problem using the various forums on this site, but nothing has helped. I tried similar techniques as used to fix other people's 1.8 errors, but nothing has worked. I have my java class file under my source folder and no imports, I just simply want a basic output message to make sure intelliJ is working as it should. Can anyone offer any advice?

about 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

Here change the language level to 1.8 or lesser. This changes the target release version.

Go to file -> settings -> Build Execution and Deployment -> Java -> Compiler

Here change the language level to 1.8 or lesser. This changes the source release version.

File -> Project Structure -> Module Settings -> Tab: Source: Language Level

and also here,

File -> Project Structure -> Project(In left pane) -> Project language level

about 4 years ago · Santiago Trujillo Relatório

0

Just in case anyone stumbles onto the same problem and the above answer doesn't solve it, my issue was resolved doing the following (I was using Gradle):

  1. Open the your-project-name.ipr file.
  2. Verify the following line:

<bytecodeTargetLevel target="1.xx" />

Mine was set to 1.10. I changed it to 1.08 (which my project SDK was set to) and the problem was solved.

about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda