close

[Solved] Java 11 : Error:java: invalid source release: 11 – Not sure what to do anymore

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Java 11 : Error:java: invalid source release: 11 – Not sure what to do anymore in java. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Java 11 : Error:java: invalid source release: 11 – Not sure what to do anymore Error Occurs?

Today I get the following error Java 11 : Error:java: invalid source release: 11 – Not sure what to do anymore in java.

How To Solve Java 11 : Error:java: invalid source release: 11 – Not sure what to do anymore Error ?

  1. How To Solve Java 11 : Error:java: invalid source release: 11 – Not sure what to do anymore Error ?

    To Solve Java 11 : Error:java: invalid source release: 11 – Not sure what to do anymore Error Please check pom version point to 11 or 8

  2. Java 11 : Error:java: invalid source release: 11 – Not sure what to do anymore

    To Solve Java 11 : Error:java: invalid source release: 11 – Not sure what to do anymore Error Please check pom version point to 11 or 8

Solution 1

Please check your JDK 11 Setup in IntelliJ! Even though the project SDK is called 11, it still says that your java-version is 1.8.161. Judging from this it looks like your new jdk 11 still points to your old 1.8 installation which does not now about version 11 yet.

Solution 2

Please check pom version point to 11 or 8

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read

Leave a Comment