在java8中找不到java.util.stream [英] Can't find java.util.stream in java8
问题描述
我已安装 jdk-8-ea-bin-b82-windows-x64-21_mar_2013
和 IntelliJ IDEA 12.0.4 。奇怪的是,我在IDE提供的intellisense中找不到 java.util.stream
。我尝试使用IDE或使用记事本和编译器进行编译,但它提出错误抱怨 java.util.stream
无法找到!我已经将模块设置设置为使用Java8 jdk。关于这个问题的任何想法?
I have installed jdk-8-ea-bin-b82-windows-x64-21_mar_2013
and IntelliJ IDEA 12.0.4. The strange thing is that I can't find java.util.stream
in the intellisense provided by the IDE. I tried to compile either using the IDE or using the notepad and the compiler but it gives an error complaining that java.util.stream
cannot be found! I have already set the module settings to use Java8 jdk. Any ideas about this problem?
推荐答案
我遇到了与Netbeans相同的问题。它接缝是旧版本的JDK 8没有正确打包。
I had the same problem with Netbeans. It seams that older versions of JDK 8 are not correctly packaged.
我遇到了与b84相同的问题,但是我安装了构建版b116并且它运行正常。
I had the same problem with b84, but I installed the build b116 and it is working properly.
PS:我认为这是@rmuller在评论中所说的
PS: I think this is what @rmuller said in his comment
这篇关于在java8中找不到java.util.stream的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!