Exception in thread main

i have begun receiving the following error message when i try to execute

java programs - even those that have previously worked:

Exception in thread "main" java.lang.NoClassDefFoundError: pgmname/java

can anyone provide some insight? thanks in advance.

j

ps these are all simple programs that have workded before.

[350 byte] By [jimenrighta] at [2007-10-2 20:21:33]
# 1
It seems likely that you are trying to run the code with something like:java -classpath /what/ever/it/is pgmname.javaJust remove the ".java" part.
stdunbara at 2007-7-13 23:04:05 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...