What is the difference in the running of the java program in Maven:
1: java -jar target/join-1.0-SNAPSHOT.jar ...
2: java -cp target/MavenTestApp-1.0-SNAPSHOT.jar org.koushik.javabrains.App
I think for the first one I need to have jar. Maybe it is connected with operating system. java -jar is on windows but java -cp is on linux or it does not matter? Thanks