Mac OS Runtime for Java 2.2 (MRJ) requires the Text Encoding Converter extension, which is normally part of the standard system software installation.
If this extension is not in your System Folder, you will get an error message that your system software is damaged and you should reinstall it. Reinstalling the system software will fix the issue.