8bitboy
8bitboy

Reputation: 63

Can run jar from command line but not from shell script + permission denied

why can't I run a jar from a shellscript when double clicking it?

Failed to execute child process "~/start.sh" (Permission denied)

#!/bin/bash
java -jar test.jar

I'm running on Arch linux x64

Upvotes: 0

Views: 2178

Answers (1)

cadrian
cadrian

Reputation: 7376

Is your script executable?

chmod +x start.sh

Upvotes: 2

Related Questions