Perry Smith

Java Questions & Answers

Home / Java Q & A Archive Page 4 / Java Q & A Archive / Java Main Page

NoClassDefFoundError
Monday, 15-Feb-99 03:57:03

206.155.163.226 writes:

Hello!

I have written a program in jdk1.2 but it is not working well.In fact, I have create a class with the method main().There is not problem when I compile my program but if I try to run my program the error "NoClassDefFoundError" is displayed. Please help me because since a week I don't know how to resolve the problem.

Thanks
M.tsangou

Tsangou Mianakindila


Response
Re: NoClassDefFoundError
Monday, 15-Feb-99 22:35:40

152.202.60.112 writes:

I had similar problems when I first upgraded to JDK1.2. To resolve it I had to remove the jdk\bin directory from my path statement in my c:\autoexec.bat file. If you've got Win95, you may also have to remove the jdk\bin directory from a SET PATH statement in your c:\config.sys.

MikeD


Home / Java Q & A Archive Page 4 / Java Q & A Archive / Java Main Page