i have problem running JAVA program from CLI:

As you can see, i run javac Main.java to get Main.class file. And when trying to execute java Main, java can't find Main class. There is my class in Eclipse:

What am i doing wrong?
You should first compile your class then run the the compiled class and not the sources. So from command line:
d:
cd programos/xampp/htdocs/im/OpenCV/src/stitching
javac Main.java
The above command will tell the java compiler to compile the sources of the Main class and generate a .class in bytecode which can be passed to the java process to be run:
java Main
You have to go one dir up cd .. and than java stitching.Main
-cp) argument should contain the folders or JARs that contain the classes, not the classes themselves. From the src folder, try java -cp . stitching.Main.