I'm currently trying to run a game on xubuntu that is downloaded as a .jar and to make it work I need to check of a box that says "allow executing file as program" I know where the box should be for everyone else but it isn't there for me. I use xubuntu 12.04 and the check box should be under properties> permissions.
Ubuntu – Can’t find “allow executing file as program” checkbox
12.04executableminecraftxubuntu
Best Answer
The option, to make a file executable is only shown for programs that the file manager considers to be of an executable file type. Jar-files are not in that list, although on Ubuntu setting them executable allows you to run them (maybe this should be reported as a bug?). Depending on the settings used when compiling the kernel (or generally on other operating systems), setting jar files executable might not work, and I guess this is the reason why file managers don't consider them runnable.
So, your options are:
chmod
to add the execute permission. (chmod +x <filename>
)java -jar <filename>
.