问题描述
我试图使用此网站上的各种论坛解决此问题,但没有任何帮助。我尝试过用于修复其他人的1.8错误的类似技术,但没有任何效果。我的源文件夹下有我的java类文件,没有导入,我只是想要一个基本的输出消息,以确保intelliJ正常工作。任何人都可以提供任何建议吗?
I have attempted to fix this problem using the various forums on this site, but nothing has helped. I tried similar techniques as used to fix other people's 1.8 errors, but nothing has worked. I have my java class file under my source folder and no imports, I just simply want a basic output message to make sure intelliJ is working as it should. Can anyone offer any advice?
推荐答案
这里将语言级别更改为1.8或更低。这会更改目标发行版本。
Here change the language level to 1.8 or lesser. This changes the target release version.
这里将语言级别更改为1.8或更低。这会更改源版本。
Here change the language level to 1.8 or lesser. This changes the source release version.
此处,
这篇关于连续获取java:无效源版本:编译时出错1.9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!