Unable to get "run" to execute in terminal

I guess I need some help in figuring this out why run wont execute

here are 2 screen shots with the commands I am useing I am trying to get away from win 11 and their multiple login B.. S..

a little help would be nice and I am a rank beginner at Zorin {Linux} 18.1 have spent hours just getting this far. hopefully with some help I can get it to work on Zorin

Have tried the chmod +x run command and the ./run commands
no luck

run.sh cannot execute error|674x499

Tks
Ken

Hello and welcome,
Could you give use the content of your run.sh ?

Welcome to the Forum!

Could You say what Program that is?

Check this first: from the folder with the file, run file run.sh and head -n 1 run.sh. If it is a shell script, try bash ./run.sh rather than only ./run.sh; that will also print a clearer error if a line ending or missing interpreter is the problem. If file says it is a binary, then it may simply be the wrong Linux build/architecture, and the .deb package would be the cleaner route.

The run.sh is the install portion

The CnC program is called Focus the person I got the software sells world wide
and suggested the ./run.sh but said he does not have knowledge of Zorin and indicated it is Linux but I thought they are both the same Linux family. so should work.? RIGHT But??

Enclosed the 2 screen shots , 1 of where the run.sh lives and the other shows the directories and the "error".
the chmod +x run.sh seems to be accepted as proper syntax to run .


of a CnC Cad program

Tks
ken

I asked for the content of run.sh, that's all...

Maybe contact the Person again and ask for more specific Instructions. You can explain that Zorin 18 is based on Ubuntu 24.04. Could be important for Software Support.

Ok
thank you anyway

Maybe this is what you are asking for.? I hope the info comes thru

I understand now

Install the Java Runtime

To run a JAR file, you need the Java Runtime Environment (JRE) or the Java Development Kit (JDK).

sudo apt update 
sudo apt install openjdk-25-jre
sudo apt install openjdk-25-jdk

Once I do "this" to install the Java
do i then do the

chmod +x run.sh

and the

./run.sh

to do the install

tks 4 the help
Zorin/Linux is a WHOLE NEW WORLD to me.?
Ken

1 Like

Yes, try it. And when it doesn’t work, show us the terminal output with the errors.

1 Like

Good Day Sir
another try still with error and of screen shot.

I think i did it right I tryed it twice with the same outcome ..but?
tks
Ken

Okay, try it with

bash ./run.sh

as @LucasZorinNL recommended.

What is in this jdk-24+36-jre Folder?

I just noticed that you have a space in your folder name "Cad Utils". I don't know if that's the problem here, but in Linux, it's better to avoid spaces in the names of files and folders. You can use an underscore _ or a hyphen - instead of a space.

Ok here are a couple more screen shots of what is in that folder and the "no such file or dir..."

this should not be this hard to install 1 program
But tks for all the help

I may be able to edit that space from the file path but that may foul this up royal but will try if you guys think this may be the culprit of why it does not work.?
tks
Ken

1 Like

for got to attach screen shots sorry






Could You show the Content of the bin Folder?