posted 23 years ago
Hi Upul,
I have had some classpath problems too but i find that the following method of compiling works best for me
c:\java>javac -classpath . MyProgram.java
to execute,
c:\java>java -classpath . MyProgram
Of course, as soon as i start working in Java
i set the path (i work in jdk1.3)
c:\java>set path=%path%;c:\jdk1.3\bin
Hope this helps.
Shree