Warning - Build Path Specifies Execution Environment J2Se-1.4

Warning - Build path specifies execution environment J2SE-1.4

In Eclipse from your project:

  1. Right-click on your project
  2. Click Properties
  3. Java build path: Libraries; Remove the "JRE System Library[J2SE 1.4]"
  4. Click Add Library -> JRE System Library
  5. Select the new "Execution Environment" or Workspace default JRE

Build path specifies execution environment J2SE-1.4. error in eclipse

You can try to go to Project|Properties, then Choose the Java Build Path,
chose the current JRE System Library, and choose Remove.

Select Add Library, and under the JRE System Library category, select your system library;
try to choose the Workspace default JRE

Eclipse Warning Build path specifies execution environment JavaSE-17.

Use of Java 18 requires both Eclipse 2022-03 and this patch from the Marketplace. 2022-03 came out a week before Java 18 (March 16th vs. March 22nd), so it can not officially claim to support it. The patch should be uninstalled before updating to 2022-06 later this month.

Maven build path specifies execution environment J2SE-1.5, even though I changed it to 1.7

  1. Right-click on your project
  2. Click Properties
  3. Click the "Java Compiler" option on the left menu
  4. Under JDK compliance section on the right, change it to "1.7"
  5. Run a Maven clean and then Maven build.


Related Topics



Leave a reply



Submit