Numerous users have reported the following problem on Linux:
java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData at sun.java2d.xr.XRPMBlitLoops.cacheToTmpSurface(XRPMBlitLoops.java:145) at sun.java2d.xr.XrSwToPMBlit.Blit(XRPMBlitLoops.java:353) at sun.java2d.SurfaceDataProxy.updateSurfaceData(SurfaceDataProxy.java:498) ...
There are two workarounds to this problem:
- The first is to add the following Java property in Tools->Tool Properties and under General category in DbVisualizer. Add it on a new line in the Specify Overridden Java VM Properties here text box, click OK and then restart DbVisualizer:
- The other is to upgrade to the official Oracle Java 8 and then change in DbVisualizer to use that version. Once Oracle Java is installed, check How do I change the Java version that DbVisualizer use for instructions