IntelliJ - java:找不到JDK'1.8' [英] IntelliJ - java: Cannot find JDK '1.8'

查看:6119
本文介绍了IntelliJ - java:找不到JDK'1.8'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新:不确定为何将此标记为重复。我已经链接到另一篇帖子,说明没有任何建议/答案适合我。此外,他们的问题似乎与通过Mac使用Windows VM的问题有关,这对我来说无关紧要。

Update: Not sure why this is marked as a duplicate. I had already linked to the other post stating that none of the suggestions / answers work for me. In addition, their question seems to be related to an issue using Windows VMs via Mac, which is irrelevant for me.

我正在使用IntelliJ IDEA 14.0.3。我选择了Java Hello World样本。当我尝试运行程序时,我收到错误:错误:java:找不到JDK'1.8'模块'Deliverable4'。我已经尝试过这篇文章中的每一条建议 intellij - java:找不到模块的JDK'1.7'但仍然无法使用它。非常感谢帮助。

I am using IntelliJ IDEA 14.0.3. I have selected the 'Java Hello World' sample. When I try and run the program I receive the error: "Error: java: Cannot find JDK '1.8' for module 'Deliverable4'. I have tried every single suggestion from this post intellij - java: Cannot find JDK '1.7' for module but still can't this to work. Any help would be greatly appreciated.

推荐答案

从IntelliJ版本14.0.3更新到14.1似乎解决了这个问题。

Updating from IntelliJ version 14.0.3 to 14.1 seemed to fix the problem.

这篇关于IntelliJ - java:找不到JDK'1.8'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆