How could I bypass blocked files from "untrusted" sources? I am using 15.10 (Wily Werewolf)
Asked
Active
Viewed 1,035 times
3 Answers
4
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

You'reAGitForNotUsingGit
- 14,809
1
Type in the terminal:
sudo chmod +x file.jar
This should fix the problem.

guntbert
- 13,134
-
1Why would you post the exact same answer that I did? – You'reAGitForNotUsingGit Jun 01 '16 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. – Jun 01 '16 at 18:10
-
Understood. Although a banner should have popped up that said "A new answer has been posted" or something to that effect. – You'reAGitForNotUsingGit Jun 01 '16 at 18:11
1
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.

kalenpw
- 744
-
If you include a screenshot with the option circled in red, I'll +1. – You'reAGitForNotUsingGit Jun 02 '16 at 19:24
-