Re: NoClassDefFoundError with MSJVM but not with Sun's JVM

From: Lothar Kimmeringer (news200407_at_kimmeringer.de)
Date: 07/31/04


Date: Sat, 31 Jul 2004 10:41:15 +0200

On Sat, 31 Jul 2004 10:33:25 +0200, NB wrote:

> Initially I got a similar error with Sun's JVM but then I placed the
> JDOM .jar in the folder where my applet is located and that solved the
> problem with Sun's JVM but not with Microsoft's JVM. Can anyone explain
> why that is?

The Microsoft VM ist still based on Java 1.1.4 and I assume that
the JDOM.jar needs at least Java 1.2.

It happens quite often, that a class is reported as not found
even when it's there because inside the class there are
classes used that don't exist (e.g. java.util.HashMap or
java.util.ArrayList what I assume in your case).

Regards, Lothar

-- 
Lothar Kimmeringer                E-Mail: spamfang@kimmeringer.de
               PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)
Always remember: The answer is forty-two, there can only be wrong
                 questions!


Relevant Pages

  • Re: Java Timer, swing
    ... I visit a page with an applet and my Celeron 1.7GH ... skip/stall, my mouse to skip, etc, with the Microsoft JVM I barely ... not due to any "Java destroying proprietary feature" the ...
    (comp.lang.java.programmer)
  • Re: What is ?
    ... Java 1.1 bytecode running in the 1.5 JVM which apparently doesn't have ... I wrote the applet several ...
    (comp.lang.java.help)
  • Re: What JVMs on which OSs ?
    ... The most important part of 'Java is almost universal' is how ... Some of the reasons I think JVM is universal: ... IBM TP's) I've tried to show applet demos had JVM, ... a small download and searching w/b instanteneous. ...
    (comp.lang.java.programmer)
  • How to debug applets running on Microsoft JVM
    ... I want to write an external application to get the data from applet ... I can make it if the Java applet application is running on Sun's JVM. ... It is because Sun provides JVMDI (Java Virtual Machine Debug Interface) ...
    (comp.lang.java.machine)
  • Re: Cannot uninstall previous versions of Java 2
    ... the registry makes me a little nervous. ... I also have the current JVM now installed and hope ... When I try to uninstall various components of JAVA 2 v 1.4.2_0x, ... - java.pnf from the \%systemroot%\inf folder ...
    (microsoft.public.windowsxp.general)

Loading