Simple answer required
I have had troubles with getting messages such as:
C:\Java>java Temperature
Exception in thread"main" java.lang.NoClassDefFoundError: Temperature
I have found that using the following code I can type in java Temperature
C:\Java>set classpath=%classpath%;.;
The only other way I have found to run my programs is to use the code:
C:\Java>java -cp . Temperature
My question is do I have to use the "set classpath" or the " -cp . " everytime I open the command prompt?
Please help
Thank you
Jonathan.

