Please help. I am getting this error.
Java is installed.
I am in the folder with drawj2d.jar
When I type the command into the terminal, I get this error: -bash: drawj2d: command not found
Where is the problem please?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please try to call drawj2d like this: java -jar drawj2d.jar --help
There is a shell script "drawj2d" in the folder to shorten the command. Actually there are two, one for Windows (suffix .bat) and one for Linux and Mac (no suffix). You are mentioning "bash" thus I assume you are using Linux or Mac. Both operating systems require you to call a local script like this: ./drawj2d --help
The first time you might get a permission error (Linux or Mac). Then make the script "executable". Use the right click menu or run once: chmod u+x drawj2d. On Linux you might prefer to install the "drawj2d-*.rpm" package , it is easier to use (run drawj2d --help from any folder).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please help. I am getting this error.
Java is installed.
I am in the folder with drawj2d.jar
When I type the command into the terminal, I get this error: -bash: drawj2d: command not found
Where is the problem please?
Please try to call drawj2d like this:
java -jar drawj2d.jar --help
There is a shell script "drawj2d" in the folder to shorten the command. Actually there are two, one for Windows (suffix .bat) and one for Linux and Mac (no suffix). You are mentioning "bash" thus I assume you are using Linux or Mac. Both operating systems require you to call a local script like this:
./drawj2d --help
The first time you might get a permission error (Linux or Mac). Then make the script "executable". Use the right click menu or run once:
chmod u+x drawj2d
. On Linux you might prefer to install the "drawj2d-*.rpm" package , it is easier to use (rundrawj2d --help
from any folder).