jide-oss
jide-oss copied to clipboard
jide-oss fails to build from source with OpenJDK 10
Hello,
the latest version of jide-oss fails to build from source with OpenJDK 10. OpenJDK 9 is end-of-life now.
I'm hereby forwarding Ubuntu bug
https://bugs.launchpad.net/ubuntu/+source/libjide-oss-java/+bug/1766131
[javac] /<<BUILDDIR>>/libjide-oss-java-3.7.2+dfsg/src/com/jidesoft/plaf/LookAndFeelFactory.java:29: error: package com.sun.java.swing.plaf.windows does not exist [javac] import com.sun.java.swing.plaf.windows.WindowsLookAndFeel;
It seems that it's been broken by this change in the jdk: https://bugs.openjdk.java.net/browse/JDK-8189656 ("The Windows L&F should be moved out from the shared folder") which means that the com.sun.java.swing.plaf.windows classes are not built as part of our jdk10 distribution.
I didn't even know jide oss is part of the Ubuntu release? We will try to fix it. It is not easy as we used Windows L&F a lot in the code. I am not sure even sure if it is possible to remove all usages.
jide oss has been included in Debian since 2013 and from there it became part of Ubuntu and other derivatives. It seems that Windows L&F is not gone but was just moved to a different location. It is hopefully just a lot of search&replace.
I pushed a change. Please try it again. There will still be a few class that I don't know how to solve. For example, public class VsnetWindowsProgressBarUI extends WindowsProgressBarUI.
Affected classes are VsnetWindowsProgressBarUI.java WindowsJidePopupMenuUI.java WindowsRangeSliderUI.java XertoJideButtonUI.java
Those are Windows specific UI classes but you won't be able to compile on Linux.
I can confirm that Windows specific classes make the build fail on Linux with OpenJDK 10 at the moment.
It also fails now because the class WindowsGraphicsUtilsPort cannot be found. I probably could remove Windows specific UI classes as a last resort but I still hope there is a better solution.
I just pushed the file.