Hi I have developed a swing application using javafx on Windows operating system . It's working fine on Windows. But when I run the jar on Linux it's defaulting to opening in the archive manager, it's not working as an executable. 
I have checked the properties of the jar file, it's an executable already.
Do I have to recompile the source file in a Linux environment to run this jar file on Linux or will the jar file work on Linux also?
 
     
     
    