4 Replies Latest reply: Feb 2, 2007 8:48 AM by 807599 RSS

    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/ja

    807599
      Newbie here!!

      I have read previous forums on this error and have done everything suggested. I am still getting the error.

      Tried: Uninstalling and Re-installing v5 accepting all defaults
      installing 6 (accepting all defaults) which gave me a whole other error I haven't seen before. ""Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion' has value '1.6', but '1.5' is required. Error: could not find java.dll Error: could not find Java 2 Runtime Environment."
      Unistalled 6 and tried 5 again.
      Set path (which I really shouldn't have to do by accepting the defaults on install) to c:\program files\java\jdk1.5.0_1\bin;
      Read about "." for current directory...tried it...same error
      Tried -cp switch..again...the same error.
      Any other suggestions??

      Many thanks!