A user has just reported that the TextUML Toolkit M2 build did not work at all for him. Ouch. Thankfully, the user included in the bug report all the information I needed to allow a quick diagnostic: turns out he was using a Java 5 VM, and he was getting exceptions like this:
java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) ...
I then realized that for the M2 build some of the plug-ins were accidentally compiled having Java 6 as the target platform, and thus wouldn’t work on a Java 5 VM. This is being fixed as I write this, and a new M2a build will be available shortly.
So, for those of you running with a Java 5 VM, please make sure you download the TextUML Toolkit M2a build. Otherwise, if you are using a Java 6 VM, you should be fine with M2, no need to download the build again.
Thanks to Jon for reporting the issue. Keep those bug reports coming!
TextUML Toolkit 1.2 RC1 fixes Java 5 compatibility issue | abstratt: news from the front
January 28, 2009 at 11:59pm[...] it happened again. A user reported that the TextUML Toolkit 1.2 RC0 build announced earlier this week wouldn’t [...]