QUOTE(alcdotcom @ 5 Jul, 2007 - 03:03 AM)

I agree that this is a problem with you IDE (Dr Java). java.lang.NoClassDefFoundError usually means that Java can't find the file you are trying to run. In this case it is having trouble with com.sun.tools.javac.util.Context, which is not your class, so my guess is that your IDE is messed up.
Now, I hear that JCreator is easier for beginners, but if software development is an integral part of your major, I would recommend trying Eclipse (or NetBeans) at some point. It is free, and has many many tools that the free version of JCreator does not have. For instance, you have to buy the Pro version of JCreator to get a debugger, but Eclipse comes standard with that. You may not care about a debugger now, but the sooner you use to learn one, the better off you'll be. I see questions on this forum all the time that the author could quickly solve if they knew how to use a debugger. Maybe not today, but soon...I'd look at it.
i thought was about jdk installation as the path was not settled propely but
i don''t think so .
great advice i''ll try netbeans. thanks