I too cannot run Swing apps with the build of OpenJDK7 described here: http://mail.openjdk.java.net/pipermail/build-dev/2010-May/002955.html
But my instructions describe how to use a binary FreeType for the build. This suggests that Denis is probably right about building FreeType form sources, even for newer build chains (VS 2008 and VS 2010). I didn't give it a try, though. Raffaello On 2010-06-14 16:51, Lussier, Denis wrote: > I could never get any Swing app to run from my OpenJDK 6 Win32 builds > (check out http://openscg.org) until building Freetype myself with > Visual Studio. Using VS2003 it was as simple as: > > - download latest source from freetype.org > > - convert older ms project file shipped with freetype source to your > version of visual stdio by simply opening in the gui and acknowledging > the conversion. > > - build freetype from visual studio gui as a static lib and then a dll. > > - point the FREETYPE environment variables used for building OpenJDK > to the above. > > > --Denis Lussier > http://openscg.org > > > On 6/14/10, Pete Brunet <p...@a11ysoft.com> wrote: >> In my first attempt at running a (slightly) modified OpenJDK jdk7 b96 >> I'm getting a crash at startup running the SwingSet2.jar from JDK6 u20. >> My unmodified b96 runs SwingSet2 with no crashes. (I built it with VS >> 2010 Pro.) >> >> Looking at the stack trace indicates a DASSERT failure in >> Java_sun_awt_windows_WToolkit_initIDs in awt_WToolkit.cpp at this code: >> >> jclass sDataClassLocal = env->FindClass("sun/java2d/SurfaceData"); >> DASSERT(sDataClassLocal != 0); >> >> Since the failure appears to be unrelated to my code, perhaps I've made >> an error in what I've modified in the build (but looking at build >> particulars related to SurfaceData I didn't see any issues). >> >> The output and stack trace are below. >> >> How would you suggest I start debugging this? >> >> Thanks, Pete