Sunday, August 2, 2009

How do i fin the classpath?

C:\%26gt;path=


PATH=C:\WINDOWS\system32;C:\WINDOWS;C:...


:\j2sdk1.4.1\bin





C:\%26gt;cd C:\Documents and Settings\HOME\Desktop\project\progs





C:\Documents and Settings\HOME\Desktop\project\progs%26gt; java Interest.class


Exception in thread "main" java.lang.NoClassDefFoundError: Interest/class

How do i fin the classpath?
Right click the my Computer icon and select properties. Select the advanced tab. Click the environmental variable button. You'll either see the CLASSPATH definition in the system variable window or you can add it there if it's missing or needs modifying.


No comments:

Post a Comment