how to run the hardwaresimulator.sh file

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

how to run the hardwaresimulator.sh file

bready
This post was updated on .
I'm running ubuntu 12.04 and i download the software package but i can't run the hardwaresimulator.sh file.  It just opens up the text editor.  What am i doing wrong.
Reply | Threaded
Open this post in threaded view
|

Re: how to run the hardwaresimulator.sh file

ybakos
You need to set the .sh files as "executable."

From a terminal console, you might do something like:

chmod u+x HardwareSimulator.sh

Or via the gui, right click the file, click "properties" and under "permissions" select the "executable" box.

http://ubuntuforums.org/showthread.php?t=1495476

Reply | Threaded
Open this post in threaded view
|

Re: how to run the hardwaresimulator.sh file

bready
I tried both of those and it didn't seem to help.  I tried running it in terminal and it opened up and but  closed right after.  It also gave me the option to just run it but nothing happens when i did that.  Do you have any other ideas.
Reply | Threaded
Open this post in threaded view
|

Re: how to run the hardwaresimulator.sh file

ybakos
"I tried running it in terminal and it opened up and but  closed right after."

Can you be more specific? What do you mean by "tried running it in terminal?" Do you mean that you chmod'ed the .sh file and invoked it from the shell prompt?

What do you mean by "it opened up"? The terminal window? The simulator?

Lastly, is Java installed and is java.exe on your PATH?
Reply | Threaded
Open this post in threaded view
|

Re: how to run the hardwaresimulator.sh file

Benoit
In reply to this post by bready
I assume Bready found an answer to his questions by now.. but for those who still wonder, type the below in the console:
sh HardwareSimulator.sh

(my computer runs Linux Mint 14).