Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Saturday, April 2, 2022

How To: Fix Eclipse Error "Java was started but returned exit code=14"?

 

.

When Eclipse runs for the first time, it may throw the following error message: 

"Java was started but returned exit code=14"

In one of the succeeding lines, it says:

"-Dosgi.requiredJavaVersion=11"


One of the possible causes is the different JRE or JDK (on the host platform) which does not meet the requirement of the Eclipse application. In this case, it requires version 11.


Solution: 

1) Exit Eclipse. Download Java JDK version 11, install and re-run Eclipse. 

2) Change Eclipse settings (Window -> Preferences -> Java -> Installed JRE's tab).


Note:

1) You may need to remove other JRE versions if they exist in Eclipse settings.

2) You may also encounter a warning message as follows:



3) Click on Compiler page link to reconfigure the compiler compliance level.
 









No comments:

Post a Comment