NoClassDefFoundError-JDK1.5.0

From: Theo (grithe_at_ieee.org)
Date: 11/30/04


Date: Tue, 30 Nov 2004 02:08:34 +0200


      Hello people,

i installed few hours ago the JDK 1.5.0 .i am using Win98SE ,I tried to
compile some simple programs and the javac command works fine and i get
the *.class files.Although when i do java filename.class i get the
message :
exception in thread "main" java.lang.NoClassDefFoundError . The JDK is
installed in C:\Program Files\Java\jdk1.5.0 ,and here is my autoexec.bat
file :

SET BLASTER=A220 I7 D1 H5 P330 T6
SET CTSYN=C:\WINDOWS
C:\PROGRA~1\CREATIVE\SBLIVE\DOSDRV\SBEINIT.COM
mode con codepage prepare=((737) C:\WINDOWS\COMMAND\ega2.cpi)
mode con codepage select=737
keyb gk,,C:\WINDOWS\COMMAND\keybrd4.sys
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\Java\jdk1.5.0\bin
SET CLASSPATH=%CLASSPATH%;C:\PROGRA~1\Java\jdk1.5.0\include
@if exist C:\PROGRA~1\PTDD\CTMOUSE.EXE C:\PROGRA~1\PTDD\CTMOUSE.EXE

as far as i know some modification of the autoexec.bat will fix the
ploblem but i have no idea what modification i must do.

  thanks