DEV Community

Discussion on: IntelliJ - Error:java: release version 5 not supported

Collapse
 
ishwaks profile image
Ishwak Sharda

By default, your "Project bytecode version isn't set in maven project.

It thinks that your current version is 5, so just go to "Project Settings>Build, Execution...>compiler>java compiler" and then change your bytecode version to your current java version.

Have a good day :)

Collapse
 
matthew_c_o profile image
Matthew Ohrenberg

This is what fixed mine. Thank you very much, sir.

Collapse
 
cyalef profile image
Bhavishay Mankani

Thank you so much, it totally worked for me.