IntelliJ IDEA GROOVY 工程无法使用 JDK 11?
source link: https://www.v2ex.com/t/802907
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
想折腾下安卓,于是看到 Groovy,想学习一下。VS Code 貌似支持的一般,插件基本没有自动完成,也不能 Debug,倒是有个 Linting 功能,不知道为啥,非得开一个 cmd 窗口在那杵着。
于是就决定 IDE 了,下载了 IntelliJ IDEA 。
创建工程:
一个 Hello World 编译,直接失败:
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
Google 一下,结果不多,但是第一条就是直接匹配:
https://youtrack.jetbrains.com/issue/IDEA-276715
这下是让我更加讨厌 Java 和 JetBrains 那一坨 IDE 了。
非得用 Java 1.8 吗?
算了,我还是 VS Code 加 command line 吧。。。需要的时候做个 Task,凑活运行。
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK