Re: Differences between Sun JVM and Microsoft JVM.

From: FISH (joeking_at_merseymail.com)
Date: 01/28/04


Date: 28 Jan 2004 04:41:08 -0800

chris.grimble@ktsplc.com (Chris Grimble) wrote in message news:<a5cdab5b.0401270629.7b03f423@posting.google.com>...
> I have a very simple applet that I am trying to make compatible with
> both Microsoft's JVM and Suns JVM in Internet Explorer.
> However, when I turn on the Sun JVM it works occasionally, but
> frustratingly on most occasions I get the following error messages:
>
> In the status bar: "Applet <name> notinited"
>
> And when I investigate further in the console I get the following
> output:
>
> load: class <name>.class not found.
> java.lang.ClassNotFoundException: <name>.class
> at sun.applet.AppletClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
[snipped...]
>
> Caused by: java.net.SocketException: Malformed reply from SOCKS server
> at java.net.SocksSocketImpl.readSocksReply(Unknown Source)
> at java.net.SocksSocketImpl.connect(Unknown Source)
> at java.net.Socket.connect(Unknown Source)
[snipped...]
>
> It appears that the applet never gets loaded. I have no idea why?
> What is the Sun JVM doing here?

The clue was in the question - did you not notice the bit saying
"Malformed reply from SOCKS server" ? This is the first thing you
should investigate...

If you have access to them, try checking any error logs for your
SOCKS service, that should give you a few important pointers.
Check that the plugin is configured correctly. If you have one,
try pointing the plugin towards a web proxy instead, and see what
results you get.

-FISH- ><>



Relevant Pages

  • applet caching
    ... I found that when an applet is cached (using Sun jvm), ... somekind of checksum added to them ...
    (comp.lang.java.programmer)
  • java cache
    ... I found that when an applet is cached (using Sun jvm), ... somekind of checksum added to them ...
    (comp.lang.java.programmer)
  • Differences between Sun JVM and Microsoft JVM.
    ... both Microsoft's JVM and Suns JVM in Internet Explorer. ... frustratingly on most occasions I get the following error messages: ... It appears that the applet never gets loaded. ... What is the Sun JVM doing here? ...
    (comp.lang.java)