I am using Ubuntu 20.04 LTS and unable to execute .sh file.
I downloaded and unziped all necessary files: nand2tetris, Opendjdk java 8 and made HardwareSimulator.sh file executable after moving it to /Desktop dir. I tried all answers in [this](
https://askubuntu.com/questions/38661/how-do-i-run-sh-scripts) link but no fortune.
After a command `/bin/bash -x HardwareSimulator.sh`it shows:
+ unset CDPATH
++ test -L HardwareSimulator.sh
++ echo HardwareSimulator.sh
+ script=HardwareSimulator.sh
+ dir=/home/rd9911/Desktop/nand2tetris/tools
++ dirname HardwareSimulator.sh
+ cd .
+ '[' '(' 0 -gt 1 ')' -o '(' '' = -h ')' -o '(' '' = --help ')' ']'
+ '[' 0 -eq 0 ']'
+ java -classpath :bin/classes:BuiltIn:bin/lib/Hack.jar:bin/lib/HackGUI.jar:bin/lib/Simulators.jar:bin/lib/SimulatorsGUI.jar:bin/lib/Compilers.jar HardwareSimulatorMain
What am I doing wrong?