run the jar file created from windows in linux as executable

view story

http://stackoverflow.com – Hi I have developed a swing application using javafx on windows operating system . Its working fine on windows. But when i running the jar on linux its opening by default in archive manager, its not working as executable. I have checked the property of the jar file it is executable already. For running this jar file on linux will i have to recompile the source file in linux environment or the jar file will work the same in linux also. (HowTos)