Receiving error for every program
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Parul_Darbari
Posted On:   Thursday, July 8, 2004 11:52 AM

Hi
I have just started java programming.Untilll now everything was running fine.I tried using Package and then changed the classpath to that new directory.
Now none of my programs are running.they all compile fine but when i run it it gives this error:

Exception in thred "main" java.lang.NoClassDefFoundError :
A sample program is as follows


class bitwise
{
public static void main(String []args)
{
int x = 15 | 4;
System.out.println(" 1111 | 0100 = " + x);
}
}
>/p>

About | Sitemap | Contact