I'm also a beginner and this is a real bone of contention for me!!
my jdk bin files are in c:\program files\java\jdk\bin
i usually have to cd down to this dir to javac or java any of my programs.
however when i try from C:\>
javac -classpath c:\program files\java\jdk\bin MyApp.java
java -classpath c:\program files\java\jdk\bin MyApp
...it never works!!!
(p.s MyApp.java is not in a named pakage)
[ September 27, 2005: Message edited by: kwame Iwegbue ]