I am trying to use jarg to compress my J2ME application. Following the instructions on the website, I typed this into the command prompt:

java -jar jarg.jar -j2me-prev c:\JavaMic\bin\preverify.exe -j2me-cp c:\JavaMic\lib\midpapi.zip BugBall.jar

(BugBall.jar is my applciation and JavaMic is the name of my root directory for J2ME)

But I keep getting this error message:

Error preverifying class a
java/lang/NoClassDefFoundError: java/util/TimerTask
not exec preverify command.

When I try commenting out the TimerTasks in my application, the same error message happens but with CommandListener as the class not found.

Whats going on?