This week I've been setting up my new PowerMac G5, and in the course of preparing to install ColdFusion on JRun I hit a wall in the form of a ZeroG installer error when installing Updater 5 for JRun.

steven-erats-power-mac-g5:~/stuff stevenerat$ sh jrun4-unix-en-updater.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX

I've been reading the Macromedia documentation and Sean Corfield's instructions and more, but I couldn't get past this error. I downloaded the updater over and over again, and each time the result was the same. As I was preparing to post a new thread at the ZeroG forums, I downloaded the installer one more time so that I could get the exact debug detail from the installation.

To my surprise, when I ran the installer this time it worked when I thought I'd surely be getting the error again.

After completing the updater installation, I recovered one of the old installers from the trash, and compared the file size. There is a noticible difference, and this is something I should have checked in the beginning.

I renamed the good one so that I could copy one out of the trash. Here's the file size comparison.

steven-erats-power-mac-g5:~/stuff stevenerat$ ls -la | grep jrun4
-rw-r--r-- 1 stevener stevener 19132424 May 19 18:24 jrun4-unix-en-updater.bin
-rw-r--r-- 1 stevener stevener 32642457 May 19 18:39 jrun4-unix-en-updater_good.bin
steven-erats-power-mac-g5:~/stuff stevenerat$

This must have been a corrupt installer.