![](/img/trans.png)
[英]Build path specifies execution environment J2SE-1.5. There are no JREs installed in the workspace that are strictly compatible with this environment
[英]VS Code execution environment J2SE-1.5. There are no JREs installed. | Ubuntu | Jdk1.8
感谢大伙们。 我解决了我的问题:
我有:
Maven 3.8.0 Java 1.8 VS代码:1.34.0 Ubuntu:18.04仿生
但我的问题是:在我的pom.xml中我使用:
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.7</maven.compiler.source> <!-- Here, i need to use: 1.8-->
<maven.compiler.target>1.7</maven.compiler.target> <!-- The same thing: 1.8-->
感谢大家
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.