Output for main app

Could anyone please explain the hint, thanks in advance

Java Doubt

the command will be used to run the jar file

could you please explain hint in syntax format, thanks in advance

java tells the command line to execute java.exe, of course.

-cp is an option that you feed to java.exe. It tells the JVM that you want to use a custom classpath, specified by the next command line argument.

many thanks ! What is com.mycompany.app.App in here ?

@Shashank_Angala , it is the path to the package. You can check this using the command cd /opt/maven/my-app/;tree