Just wanted to mention to anyone who may be having class not found issues with tokentool-1.0M2.b4.jar from the zip release that the reason for the error is an incorrect entry in the MANIFEST file.
If you type: java -jar tokentool-1.0M2.b4.jar
and get the following message
Exception in thread "main" java.lang.NoClassDefFoundError: net/rptools/common/swing/ImagePanelModel
you should update the MANIFEST.MF file. First extract the manifest from the jar file and open it in a text editor, you will see the following:
Ant-Version: Apache Ant 1.6.5
Created-By: 1.5.0_04-b05 (Sun Microsystems Inc.)
Class-Path: lib/rplib-1.0.b1.jar lib/looks-1.3b1.jar
You need to change Class-Path entry to read:
Class-Path: lib/rplib-1.0.b6.jar lib/looks-1.3b1.jar
Once that has been done update the jar file in the following way:
jar umf <modified-manifest-filename> tokentool-1.0M2.b4.jar
where <modified-manifest-filename> is the name of the newly updated manifest file.
Thanks for the note :) Actually that's an oooooold file, check out the latest happenings in our new forums: http://forums.rptools.net/index.php
Sorry I realized too late how dated the last comments here were. I'll check out the new forum.