使用Java SE 10.0.1的Eclipse Oxygen Window Builder错误 [英] Eclipse Oxygen Window Builder Error with Java SE 10.0.1
问题描述
我正在使用Eclipse Oxygen .3a并使用符合JDK Java SE-10.0.1我试图在另一台计算机上使用与Oxygen和Java SE-9配合使用的Windows构建器,但是,我无法使用IDE打开设计选项卡。使用此设置...我也在运行JDK SE10
I am using Eclipse Oxygen .3a and using compliance with JDK Java SE-10.0.1 I am trying to use windows builder which worked with Oxygen and Java SE-9 on another computer, however, I can not get the IDE to open the "Design" tab. with this setup... I am also running JDK SE10
当我点击设计选项卡时出现以下错误:
When I click on the design tab I get the following error:
Eclipse运行在0以下,但是这个Java项目有9个Java合规级别,因此WindowBuilder将无法从该项目加载类。为项目使用较低级别的Java,或使用较新的Java版本运行Eclipse。
我无法使用更新版本的eclipse,因为我看不到那里的一切。我已经尝试将合规性级别设置为Java SE-9而不改变操作(即使打开和关闭也能获得相同的结果)。我想看看我是否可以再次下载Java SE-9,但我只看到Java SE-10.0.1在那里下载。 Java SE-9还能被收购吗?
I cant use a newer version of eclipse as I dont see anything out there. I've tried setting the compliance level to Java SE-9 with no change in operation (even opened and closed to get the same result). I was looking to see if I could download Java SE-9 again but I only see Java SE-10.0.1 out there for download. Can Java SE-9 still be acquired?
另一个说明我尝试打开一个符合Java SE 10标准的新项目,我得到了相同的结果。有没有人对我还能尝试什么有任何想法?
Another note I tried opening a new project with compliance set at Java SE 10 and I get the same results. Does anyone have any ideas on what else I could try?
谢谢
推荐答案
我正在使用Eclipse光子,通常当我尝试切换到windowBuilder时遇到此问题。我在我的电脑上安装了Java JDK 1.8和Java 10,这是我如何解决这个问题的:
I'm using Eclipse photon and usually get this problem when i try to switch to windowBuilder. I have installed both Java JDK 1.8 and Java 10 in my PC and this how i fix this:
- 打开你的项目
- 右键单击JRE系统库[Java SE-10]
- 单击属性
- 在下一个窗口中,切换到执行环境中的Java SE-1.8组合框
- 应用并关闭
- 重试使用windowBuilder打开项目。
- Open your project
- Right click on JRE System Library [Java SE-10]
- Click on Properties
- On the next window, change to Java SE-1.8 in the Execution environment comboBox
- Apply and close
- Retry to open project with windowBuilder.
这篇关于使用Java SE 10.0.1的Eclipse Oxygen Window Builder错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!