Folder with program:
C:\ProgramFolder
In folder there is a package with classes:
com\mysite\my_program
Main class name:
Program.class
... or fullname:
com.mysite.my_program.Program
In the root folder there is manifest file with content:
Manifest-Version: 1.0
Main-Class: com.mysite.my_program.Program
And I'm making jar-file:
jar cmf MANIFEST.MF my_program.jar com\mysite\my_program\*.class
and trying to lunch it:
java -jar my_program.jar -a -b -c http://google.com/ google
this:
-a -b -c http://google.com/
are paramerts to my program. Tesult is the same without them.
And I'am getting error:
Couldn't find or load main class Цjar
In real program manifest file looks like this:
So, I don't know why Цjar