Page 1 of 1
ERROR on EVERY Program
Posted: Wed Oct 30, 2002 3:51 am
by SCG
Hey, All of a sudden, out of the blue, im getting this error when i run any of my programs, even ones that worked befor:
Exception in thread "main" java.lang.NoClassDefFoundError: App4_29
Help please
Re: ERROR on EVERY Program
Posted: Sun Nov 03, 2002 3:31 am
by russ
I've got the same problem. Help!
Re: ERROR on EVERY Program
Posted: Thu Jan 09, 2003 10:18 am
by Graham
This error comes up when java can't find the class file that you're trying to run. Either you haven't compiled the program, or something else is wrong. If you're compiling & running through TextPad, then the .java file & the .class file should be in the same folder. If they are, then try putting .; at the start of your classpath environment variable. On 2000/XP, it's definitely found by right-clicking My Computer, Properties, Advanced, Environment Variables, and then it's under System Variables. If it's not already there, create a new one called CLASSPATH with the value .;
Re: ERROR on EVERY Program
Posted: Thu Jan 30, 2003 12:34 pm
by anees mohiuddin
H:\java\welcome1.java:6: package system does not exist
system.out.println ( "welcome to Java Programming!");
^
1 error
Tool completed with exit code 1
Re: ERROR on EVERY Program
Posted: Fri Feb 14, 2003 3:21 pm
by Ton Bode
Try System (with uppercase S).
anees mohiuddin wrote:
>
> H:\java\welcome1.java:6: package system does not exist
> system.out.println ( "welcome to Java Programming!");
> ^
> 1 error
>
> Tool completed with exit code 1