Lại Phương Thanh
New member
How do I run a Java program in PuTTY?
Answer
Answer
- Type cd into the PuTTY terminal, followed by the directory address that holds the Java source code you wish to compile.
- Type ls if you are using PuTTY to log in to a Unix-based machine, or dir if you are using PuTTY to log into a Windows PC. This lists the files in the current directory. …
- Type javac MySourceCodeFile.