how to compile java project in cmd with library code example
Example 1: cmd java compile
javac MyFisrtProgam.java // enter to compile
java MyfirstProgram // run program
Example 2: compile java code with package in cmd
javac –d . demo.java
javac MyFisrtProgam.java // enter to compile
java MyfirstProgram // run program
javac –d . demo.java