Ask Your Question
1

Executing .sh files on Fedora 24

asked 2016-11-07 07:55:22 -0600

islatortuga gravatar image

I have problems executing .sh files, and the previous answer by Sten does not solve it for me, unfortunately.

For example, I enjoy playing games via Vassal ( vassalengine.org ), and this worked fine under Ubuntu, Mageia, Debian and Mint. Either by double-clicking on the vassal.sh icon in the graphical interface, or by typing "sh VASSAL.sh" on the command line in the proper directory.

This morning I installed Fedora 24 Workstation, and neither option (clicking the icon, typing the command) works to start up Vassal. On the command line, when I type "sh VASSAL.sh" or even "bash VASSAL.sh", the prompt pauses for a few seconds, and then shows me my prompt and cursor again on the next line, as if nothing happened. Trying the "chmod +x" command first changes nothing in the result. Is there another way to go about this, or is there a step that I should do that I am missing? Something I should install first?

Thanks in advance!

edit retag flag offensive close merge delete

Comments

No clue what vassal is but your approach seems to correct. 1.) make .sh file executable: chmod +x VASSAL.sh 2.) execute it: ./VASSAL.sh or bash VASSAL.sh

Do you have a compatible version of Java installed?http://www.vassalengine.org/wiki/Inst...

florian gravatar imageflorian ( 2016-11-07 09:55:07 -0600 )edit

Can you post the content of this script? You could use fpaste for that.

fcomida gravatar imagefcomida ( 2016-11-07 09:55:28 -0600 )edit

Ah, I will have a look at that. Thank you for the tip!

islatortuga gravatar imageislatortuga ( 2016-11-08 01:48:44 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2016-11-07 10:17:28 -0600

florian gravatar image

updated 2016-11-07 10:19:03 -0600

Took a quick look at the .sh script here, and that shows that you need java.

The following articles should get you started: https://fedoraproject.org/wiki/Java/F... https://fedoraproject.org/wiki/Java

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-11-07 07:55:22 -0600

Seen: 219 times

Last updated: Nov 07 '16