in reply to cannot load applet using Perl/CGI

If your Apache's mime.types doesn't include an entry that looks like   application/octet-stream    class (there may be some other extensions listed along with class), then you'll need to add the following to your .htaccess   AddType application/octet-stream .class Without either of these, Apache will get confused about what .class files are, and might try to execute them on the server side. (Your error log suggests this is the case.)