Try this
In Eclipse, your project -> properties -> java build path : Libraries Remove the "JRE System Library[J2SE 1.4]" -> click "Add Library" button -> JRE System Library -> select the new "Executin Environment" or Workspace default JRE
Related Posts:
- Eclipse returns error message “Java was started but returned exit code = 1”
- Eclipse IDE – Error: Build path specifies execution environment Java SE 1.7
- Eclipse IDE – Error: Build path specifies execution environment Java SE 1.7
- What is an instance variable in Java?
- How to uninstall Eclipse?
- Eclipse/Maven error: “No compiler is provided in this environment”
- Can’t start Eclipse – Java was started but returned exit code=13
- Can’t start Eclipse – Java was started but returned exit code=13
- super() in Java
- Eclipse IDE for Java – Full Dark Theme
- Is there a way to convert all comments into javadoc comments? [Eclipse/Java]
- What’s the syntax for mod in java
- How to solve could not create the virtual machine error of Java Virtual Machine Launcher?
- What does the Java assert keyword do, and when should it be used?
- How to solve could not create the virtual machine error of Java Virtual Machine Launcher?
- “Error occurred during initialization of VM; Could not reserve enough space for object heap” using -Xmx3G
- How do I make a delay in Java?
- Casting variables in Java
- Failed to write core dump. minidumps are not enabled by default on client version of windows
- How to uninstall Eclipse?
- Editor does not contain a main type in Eclipse [duplicate]
- max value of integer
- “Error occurred during initialization of VM; Could not reserve enough space for object heap” using -Xmx3G
- Editor does not contain a main type in Eclipse [duplicate]
- must declare a named package eclipse because this compilation unit is associated to the named module
- How can I prevent java.lang.NumberFormatException: For input string: “N/A”?
- JRE Missing when installing eclipse
- The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- What is the difference between == and equals() in Java?
- A JNI error has occurred, please check your installation and try again in Eclipse x86 Windows 8.1
- What does “?” mean in Java?
- Java – No enclosing instance of type Foo is accessible
- Server Tomcat v9.0 Server at localhost failed to start
- Why I am getting java.lang.AbstractMethodError errors?
- java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing
- fix java.net.SocketTimeoutException: Read timed out
- “insufficient memory for the Java Runtime Environment ” message in eclipse
- Control an Arduino with Java
- Cannot find “Package Explorer” view in Eclipse
- Why Maven project is tied to J2SE-1.5 by default?
- JVM Crash – “EXCEPTION_ACCESS_VIOLATION”
- what does Dead Code mean under Eclipse IDE Problems Section
- How to override equals method in Java
- what does Dead Code mean under Eclipse IDE Problems Section
- java.text.ParseException: Unparseable date
- How do I resolve the “java.net.BindException: Address already in use: JVM_Bind” error?
- Eclipse: Java was started but returned error code=13
- Server Tomcat v9.0 Server at localhost failed to start
- Java – String cannot be converted to int
- java.io.IOException: Broken pipe
- How to change a package name in Eclipse?
- what is this ANT build?
- java.util.NoSuchElementException: No line found
- Eclipse “Error: Could not find or load main class”
- Error: Selection does not contain a main type
- Even though JRE 8 is installed on my MAC -” No Java Runtime present,requesting to install ” gets displayed in terminal
- Reason for the exception java.lang.VerifyError: Bad type on operand stack
- Integrate Ant builder into Eclipse: Error “Variable references empty selection”
- Cannot change version of project facet Dynamic Web Module to 3.0?
- The specified DSN contains an architecture mismatch between the Driver and Application. JAVA
- “Could not find Java SE Runtime Environment.” after installing Java
- eclipse won’t start – no java virtual machine was found
- Eclipse does not start when I run the exe?
- The declared package does not match the expected package “”
- Downcasting in Java
- eclipse won’t start – no java virtual machine was found
- Eclipse Java error: This selection cannot be launched and there are no recent launches
- How can I avoid this Ant Build error?
- Java “params” in method signature?
- Access restriction: The type ‘Application’ is not API (restriction on required library rt.jar)
- How do I time a method’s execution in Java?
- Eclipse No tests found using JUnit 5 caused by NoClassDefFoundError for LauncherFactory
- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
- Eclipse error, “The selection cannot be launched, and there are no recent launches”
- Failed to load the JNI shared Library (JDK)
- channel 3: open failed: connect failed: Connection refused
- Java can’t find file when running through Eclipse
- repaint() Method in Java
- Ant “JAVA_HOME does not point to the JDK” – but it does
- Eclipse java debugging: source not found
- No appenders could be found for logger(log4j)?
- Syntax error on token(s), misplaced construct(s)
- Error occurred during initialization of VM (java/lang/NoClassDefFoundError: java/lang/Object)
- “The public type <
> must be defined in its own file” error in Eclipse [duplicate] - Corrupt jar file
- Installing WindowBuilder on Eclipse Neon
- How to clear console in Java – Eclipse
- The import javafx cannot be resolved
- Exception in thread “main” java.lang.reflect.InvocationTargetException
- How to set String’s font size, style in Java using the Font class?
- Invalid escape sequence (valid ones are \b \t \n \f \r \” \’ \\ )
- How to use the command update-alternatives –config java
- Fatal error compiling: tools.jar not found:
- try catch ArrayIndexOutOfBoundsException?
- java array error “array required but int found”
- Unreachable code in eclipse
- this: Cannot use this in static context
- What’s the difference between SoftReference and WeakReference in Java?
- How to draw lines in Java