The installation instructions aren't telling you to run
run bin/jason.sh. They're saying to run
Suppose you wanted to put the
Jason folder in your home folder:
cd # changes to your home folder
# change URL for different version or different mirror
tar xf Jason-1.4.1.tgz
Either or both of those steps can be performed with the GUI (via a web browser and archive manager). If you did it that way, then to continue, type
cd followed by a space, drag the
Jason-1.4.1 folder into the Terminal to paste its full path (the version number may be different, if you're reading this in the future), then press Enter.
A couple notes about permissions and privileges:
The Jason archive you download contains files whose permissions have to be set a certain way in order for Jason to run properly (or, in some cases, at all). It appears, based on some of the information you've recently provided, that
jason.sh is not set as executable.
Maybe you downloaded the .zip file instead of the .tgz. A .zip archive does not typically preserve executable and other Unix-style permissions. As there are many more files than just
jason.sh that rely on having the correct permissions, the correct solution is to start over using the
.tgz file. This is one of the options when you download Jason.
31 other files in the archive are supposed to be marked executable, which is why just setting the permissions for that one file is probably not the best fix, even if you are able to do so. Several of those other files are also scripts or programs and thus clearly do need those permissions. (For some it seems odd they're +x, but it's not applied indiscriminately--other files in the same dirs with the same suffixes are -x.)
Or: Maybe the drive you've extracted the .tgz archive to is an NTFS or FAT32 drive, or some other drive that doesn't support Unix-style permissions. Then every file will have the default permissions for files and every folder will have the default permissions for folders, set when that filesystem was mounted. You can change those defaults, but you probably shouldn't--then you'd have all sorts of files marked executable that aren't supposed to be. Instead, extract
Jason-1.4.1.tgz somewhere like your home folder where Unix-style permissions are supported.
Or: Maybe the drive you've extracted the .tgz archive to is mounted with the noexec option. This is the least likely (especially based on the information you've since provided), since permissions can still be changed on noexec filesystems, the files on them just can't be run as executables. But if this is the case, the solution is the same--move the archive somewhere else and extract it there.
Assuming you're putting Jason in your home folder as above, this copy should belong to your user. You don't need to--and shouldn't--perform any action as root (with
sudo or otherwise) as part of the installation. You also almost certainly should not run Jason as root (even if you did install it systemwide).
Now that you're in the
Jason-1.4.1 folder, run the
jason.sh script located in the
bin subfolder by issuing the command:
Provided you have all the required dependencies (e.g., Java), it should run Jason.
This is good for verifying Jason works, but most of the time you'll probably want to run it from the GUI. There's two main ways.
You can make make it so Nautilus will run shell scripts (provided they're marked executable) when you double-click on them:
Or you can create a launcher to run the script:
You'll probably want to make a launcher. For convenience, here's one way to do that.
This is based on this answer and that one. (If you're using the MATE desktop environment, use
mate-desktop-item-edit in place of
Right-click on your desktop and click Create Launcher... or, if you don't have that option, run
gnome-desktop-item-edit --create-new ~/Desktop.
For Type, keep Application.
For Name, put
Jason (or whatever you like).
For command, enter the fully qualified path to
jason.sh or browse for it (with the Browse... button). Mine is
/home/ek/Jason-1.4.1/bin/jason.sh. If you're using the same version of Jason and you followed the instructions above, just replace
ek with your own username.
If you're in the Terminal where you ran
bin/jason.sh successfully, running
readlink -f bin/jason.sh will reveal the full path:
ek@Ilex:~/Jason-1.4.1$ readlink -f bin/jason.sh
Now you have a desktop launcher called Jason that you can double-click to start the application easily. (You can move this somewhere other than your desktop, if you like.)