Is jide-common compatible with JDK1.6?

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Is jide-common compatible with JDK1.6?

Postby Hema » Wed Aug 06, 2008 8:31 am

I have started working on a UI appilation that uses jide-comman-1.8.2.02.jar, jide-dialogs-1.8.2.02.jar, jide-components-1.8.2.02.jar,jide-grids-1.8.2.02.jar.

The appication runs fine with JDK-1.5, but when I try to run it with JDK-1.6, it starts giving RTE:

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/sun/java/swing/SwingUtilities2
at com.jidesoft.swing.JideSwingUtilities.drawStringUnderlineCharAt(Unknown Source)
at com.jidesoft.plaf.basic.BasicJideButtonUI.paintText(Unknown Source)
at com.jidesoft.plaf.basic.BasicJideButtonUI.paintText(Unknown Source)
at com.jidesoft.plaf.basic.BasicJideButtonUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
at javax.swing.JComponent.paintComponent(JComponent.java:763)
at javax.swing.JComponent.paint(JComponent.java:1027)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5129)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:285)
at javax.swing.RepaintManager.paint(RepaintManager.java:1128)
at javax.swing.JComponent.paint(JComponent.java:1013)
at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
at java.awt.Container.paint(Container.java:1797)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:734)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

I read somewhere on net that SwingUtilities2 was an unsupported class in JDK 1.5 and has been removed in JDK1.6.

I tried running the app with jide-oss-2.2.12.jar and ran into many other exceptions.

Quetions:
1.Is jide-common jar compatible with JDK-1.6?
2.Does the new jide-oss jar contain all that was there in different jide jars that this app was using(jide-comman-1.8.2.02.jar, jide-dialogs-1.8.2.02.jar, jide-components-1.8.2.02.jar,jide-grids-1.8.2.02.jar.)? I believe the jide-common jar is an older jide release.

Please help/advice.

Thanks
Hema
 
Posts: 1
Joined: Wed Aug 06, 2008 8:18 am

Re: Is jide-common compatible with JDK1.6?

Postby JIDE Support » Wed Aug 06, 2008 8:36 am

We had fixed this NoClassDefFoundError a long time ago. You need to upgrade. The reason you got exceptions is probably because you also didn't include all jide jars from the latest release. The jide-common.jar is greater than jide-oss.jar. You cannot simply replace it with jide-oss.jar which only contains the open source components.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 60 guests