简体   繁体   English

Eclipse对于错误版本的Java

[英]Eclipse For wrong version of Java

我想为Minecraft制作一个mod,我有Java和JDK 7,因为它与Java 8不兼容,但是新的Eclipse是针对Java 8的,我在任何地方都找不到Java 7的Eclipse版本。

You can work with any JDK if your Eclipse supports the latest one. 如果您的Eclipse支持最新的JDK,则可以使用任何JDK。 You need to install JDK7, then you go to Window , Preferences . 您需要安装JDK7,然后转到WindowPreferences Type installed in the field and choose Installed JREs . 键入安装在现场,并选择Installed JREs Then, give the path of your JDK. 然后,给出您的JDK的路径。 Finally, right click on your project, Properties , Java compiler and select the appropriate JDK and compiler compliance. 最后,右键单击您的项目, PropertiesJava compiler然后选择适当的JDK和编译器符合性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM