Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

This server requires an execution environment of JavaSE-1.8, but no valid JRE was found. Caution is advised

I use Eclipse 4.9 twice. one with jdk8 and one with openJDK11. With both I want to integrate Wildfly 14 Runtime via "Window -> Preferences -> Server -> Runtime Environment". The following error occurs when I select "OpenJDK-11.0.2" under Alternate JRE:

This server requires an execution environment of JavaSE-1.8, but no valid JRE was found. Caution is advised.

Thank you in advance for your views and possibly detailed solutions :)

Eclipse: New Server Runtime Environment

like image 287
user3804191 Avatar asked Oct 19 '25 03:10

user3804191


1 Answers

sorry for my bad English. To resolve it, go to

Window -> Preference -> Java -> Compiler

And change the value of Compiler compliance level to 1.8 It work for me.

like image 137
Aime Soro Avatar answered Oct 22 '25 03:10

Aime Soro



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!