<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm able to run the mapserver example that uses 
mapimage applet in&nbsp;<A 
href="http://terrasip.gis.umn.edu/projects/tutorial/">http://terrasip.gis.umn.edu/projects/tutorial/</A>&nbsp;example 
5. </FONT></DIV>
<DIV><FONT face=Arial size=2>I tried to do the same with my project. I 
downloaded MapImage.zip from <A 
href="http://mapserver.gis.umn.edu/contributed.html">http://mapserver.gis.umn.edu/contributed.html</A>, 
followed the instructions by Stephen Lime....by copying mapimage.class to my 
webserver (without recompiling). When it tries to execute the applet, I got the 
following errors:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2># Applet exception: error: java.lang.ClassFormatError: Wrong 
class name inside class file</FONT></DIV>
<DIV><FONT size=2>java.lang.ClassFormatError: Wrong class name inside class 
file</FONT></DIV>
<DIV><FONT size=2>&nbsp; at java.lang.ClassLoader.defineClass(Compiled 
Code)</FONT></DIV>
<DIV><FONT size=2>&nbsp; at netscape.applet.AppletClassLoader.loadClass(Compiled 
Code)</FONT></DIV>
<DIV><FONT size=2>&nbsp; at netscape.applet.AppletClassLoader.findClass(Compiled 
Code)</FONT></DIV>
<DIV><FONT size=2>&nbsp; at 
netscape.applet.AppletClassLoader.loadClass1(Compiled Code)</FONT></DIV>
<DIV><FONT size=2>* at netscape.applet.AppletClassLoader.loadClass(Compiled 
Code)</FONT></DIV>
<DIV><FONT size=2>&nbsp; at netscape.applet.AppletClassLoader.loadClass(Compiled 
Code)</FONT></DIV>
<DIV><FONT size=2>&nbsp; at 
netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled 
Code)</FONT></DIV>
<DIV><FONT size=2>&nbsp; at 
java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled 
Code)</FONT></DIV>
<DIV><FONT size=2>&nbsp; at java.awt.EventDispatchThread.run(Compiled 
Code)</FONT></DIV>
<DIV><FONT size=2>&nbsp; at 
netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled 
Code)</FONT></DIV>
<DIV><FONT size=2><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>I'm using Netscape Communicator 4.76.</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>I also tried compiling with Jdk1.1.8 (I couldn't find a 
copy of Java 1.1 compiler), and reloading it. I get the same errors. 
</FONT></DIV>
<DIV><FONT face=Arial>Can anyone explain this?</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Thanks.</FONT></DIV>
<DIV>--<BR>Yeewen</FONT> </DIV></BODY></HTML>