You also have to right click the .jar after giving the OS permission to execute it(What andrew explained), then select OpenJDK runtime. Keep in mind Linux does NOT come preinstalled with Java, so make sure java is installed. You can find it in the repository for easy installation.