日食java,Java日食氧气4.7.3a?

I am trying to use windowbuilder on eclipse oxygen 4.7.3a on macOS highSierra. it installed fine but every time I try to open the design part it displays this error

Eclipse is running under 0, but this Java project has a 1.8 Java

compliance level, so WindowBuilder will not be able to load classes

from this project. Use a lower level of Java for the project, or run

Eclipse using a newer Java version.

I tried everything. like changing the running enviroment, .jre files, try different JDE. nothing working. any suggestions?

解决方案

Your only short term solution is to use a Java version <= 9.

Initially WindowBuilder did not work with Java 9 for several reasons. See

Bug 526098 - WindowBuilder fails to work on Java 9.

One of those issues was that the the System Property java.version was unexpectedly just "9":

Please check that you have exactly 9.0 JDK, it worked for me with

9.0.1 until I downgraded target JRE to 9.0, which has unusual System.getProperty("java.version").equals("9")

The fixes to get WindowsBuilder working on Java 9 were only completed on 2/21/18, and based on your error it looks like a similar issue exists when running WindowsBuilder using Java 10. I suggest you create a Bug Report with Eclipse.

See also:

SO Post Eclipse Oxygen Window Builder Error with Java SE 10.0.1 where the solution/workaround was to regress to Java 9.

This Eclipse Forum post where a user is reporting a similar problem to yours.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值