Incompatible Java Version for WindowBuilder [message #1792308] |
Sun, 15 July 2018 21:58  |
Eclipse User |
|
|
|
Hello, I know this is a very common problem but still I can't find a solution. When I open the 'Design' tab on Eclipse, this is the error message that pops up:
Eclipse is running under 1.8, but this Java project has a 10 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 had a bunch of different JDK versions installed, so I uninstalled all of them and installed JDK 8 only. I read that it would solve the problem, but it didn't.
My Eclipse version is OXYGEN.3 from March 2018. I installed WindowBuilder today, so it's the latest version. JAVA 8. What's the problem? Thank you!
|
|
|
|
Re: Incompatible Java Version for WindowBuilder [message #1792641 is a reply to message #1792580] |
Fri, 20 July 2018 08:17   |
Eclipse User |
|
|
|
Eric,
I understand what the WindowBuilder team was trying to do with the old version check code, but would you consider removing it or updating it to handle Java 9, 10, and 11 since Oracle changed the format of the version numbers?
WindowBuilder-designed apps run fine in Java 9/10/11, but WindowBuilder itself doesn't run because of the one line of WindowBuilder's source code where you check the version for "1.x...." broke back on Java 9 when they reformatted to "9" (and 10 and 11 continue this pattern, but Oracle could break it again in a few months on Java 12).
Would you and the team consider either updating the version check or removing that if statement altogether? I have thousands of students who want to use WindowBuilder, but don't want to downgrade back to Java 8 just for this one awesome tool.
Thank you for a great GUI tool for Java in Eclipse - and thanks in advance for any consideration to allow it to work for Java 9, 10, and 11.
Sincerely,
Bryson
|
|
|
|
|
Re: Incompatible Java Version for WindowBuilder [message #1796777 is a reply to message #1796691] |
Thu, 18 October 2018 14:28  |
Eclipse User |
|
|
|
It's not clear to me what your environment is.
I am using Eclipse Photon with JDK 1.8 on Windows 10 (64 bit)
It is a simple matter to remove any JDK and Eclipse installations you have and simply install JDK 1.8 and after that, install Eclipse Photon.
Good luck!
|
|
|
Powered by
FUDForum. Page generated in 0.05212 seconds