CLASSPATH

Is it necessary to set a classpath for running compiled java programs because I have problems to run a writtenjava document ?
[153 byte] By [Mmaster] at [2007-9-26 1:56:52]
# 1
Can you be more specific about the java file that you have written?E.
eugene1234 at 2007-6-29 3:12:44 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 2
I think so. It needs to know where your class files are stored.
mwstein at 2007-6-29 3:12:44 > top of Java-index,Archived Forums,New To Java Technology Archive...