Exception in thread main java.lang.NoClassDefFoundError:Hello
I am using JDK 1.4.1. After installing the fresh copy of the JDK 1.4.1 in my system the Java programs work properly. But for the second time onwards whenever I run the Java program using "Java" it is giving the error "Exception in thread "main" java.lang.NoClassDefFoundError:Hello". I have tried for JDK 1.5 also, I got the same error. How to rectify this problem. Plz provide the solution.
Exception in thread main java.lang.NoClassDefFoundError:Hello
you can use some java editor like jcreator or netbean
Re: Exception in thread main java.lang.NoClassDefFoundError:Hello
[QUOTE=ganeshgopi;16204]I am using JDK 1.4.1. After installing the fresh copy of the JDK 1.4.1 in my system the Java programs work properly. But for the second time onwards whenever I run the Java program using "Java" it is giving the error "Exception in thread "main" java.lang.NoClassDefFoundError:Hello". I have tried for JDK 1.5 also, I got the same error. How to rectify this problem. Plz provide the solution.[/QUOTE]
i also got the same error it gives more headache to me . my friends also got this . one of my friend said to change ur os . i hv not changed still now. but after he changed his os java works properly . u try it .