How could I bypass blocked files from "untrusted" sources? I am using 15.10 (Wily Werewolf)
3 Answers
You need to give it the executable bit.
Run this command in terminal (ctrl+alt+t):
sudo chmod +x yourfle.jar
Then you can run it normally with:
java -jar yourfile.jar
Type in the terminal:
sudo chmod +x file.jar
This should fix the problem.
-
1Why would you post the exact same answer that I did? Jun 1, 2016 at 18:08
-
1I didn't! I just knew the answer to the problem. I typed my answer. Posted it, the page refreshed and then I saw your post. I didn't mean to copy you.– user517663Jun 1, 2016 at 18:10
-
Understood. Although a banner should have popped up that said "A new answer has been posted" or something to that effect. Jun 1, 2016 at 18:11
Although the terminal version already posted is easier for completeness sake, you can also right click the .jar in a file explorer go to Permissions and select allow executing file as program.
-
If you include a screenshot with the option circled in red, I'll +1. Jun 2, 2016 at 19:24
-