Build path specifies execution environment JavaSE-1.8. There are no JREs installed in the workspace that are strictly compatible with this environment.
はじめに
Build
以下のワーニングが発生
Build path specifies execution environment JavaSE-1.8. There are no JREs installed in the workspace that are strictly compatible with this environment.
The compiler compliance specified is 1.8 but a JRE 11 is used
設定を変更
<properties> <java.version>1.8</java.version> </properties>
- gradleならbuild.gradle
sourceCompatibility = '1.8'
1.8を11に変更したら解消した