0

How could I bypass blocked files from "untrusted" sources? I am using 15.10 (Wily Werewolf)

0

3 Answers 3

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
1

Type in the terminal:

sudo chmod +x file.jar

This should fix the problem.

3
  • 1
    Why would you post the exact same answer that I did? Jun 1, 2016 at 18:08
  • 1
    I 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.
    – user517663
    Jun 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
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.

Image of checkbox

2
  • If you include a screenshot with the option circled in red, I'll +1. Jun 2, 2016 at 19:24
  • @AndroidDev sorry I was at work when I answered. Added a screenshot.
    – kalenpw
    Jun 3, 2016 at 3:40

Not the answer you're looking for? Browse other questions tagged .