DrJava:无法使用JDK8.0运行代码 [英] DrJava: Cannot run code using JDK8.0

查看:3075
本文介绍了DrJava:无法使用JDK8.0运行代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人使用jdk 8.0时遇到问题?

Anyone having trouble using jdk 8.0 ??

好吧,我不知道为什么我面对一些骚乱。
不确定为什么,在我编译'drjava'中的javacode,而我试图运行它,它说...
当前文档与交互窗格不同步,应该重新编译

Well, I don't know why I am facing some disturbances. Not sure why , after compiling a javacode in 'drjava' while I try to run it , it says ... " Current document is out of sync with the Interactions Pane and should be recompiled! "

我试图将编译器从JDK 8.0更改为Eclipse Compiler 0.A48它显示相同的消息..经常重新编译并单击运行按钮而不是使用快捷键(F2)它跑!然后我把编译器还原为JDK 8.0它也跑了(也是快捷方式工作)..
但是在编译代码后,它开始显示相同的文本...

I tried changing the compiler from JDK 8.0 to Eclipse Compiler 0.A48 it showed the same message .. after frequently recompiling and clicking the run button rather than using the shortcut key (F2) it ran !!!! then I toogled the compiler back to JDK 8.0 it ran also .(also the shortcut worked ) .. But after few compilation of codes it started to show the same text ...

最刺激的事情现在是我的drjava挂起,而我试图改变我的编译器!
我想我必须回到JDK 7u51 ..但我真的很好奇为什么这个事情只是发生

And the most irritating thing is now my drjava hangs while i try to change my compiler !!! I think I have to go back to JDK 7u51 .. but I am really curious why this thing just happening

推荐答案

我尝试使用JDK 8运行它时出现错误。

I'm getting errors when I try to run it with JDK 8 as well.

我的临时解决方案:将JRE(或JDK)7下载为tar.gz,和DrJave作为一个罐子。解压缩JRE / JDK,只需使用v7 java

My temporary solution: download JRE (or JDK) 7 as a tar.gz, and DrJave as a jar. Unzip the JRE/JDK, and just run the jar with the v7 java

现在就可以了。我相信他们会得到它排序最终,但同时...

Works for now. I'm sure they'll get it sorted eventually, but meanwhile...

这篇关于DrJava:无法使用JDK8.0运行代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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