When I run a executable file, I am gettibg a error message. ' Java Virtual Machine Launcher ' - Could not find the main class.Program will exit.

Can any provide me the solution what the problem maybe?
Orelse should I install any software to rectify it?