Hi there,
Quote:
Originally Posted by Rohith
In putty, I wanted to run the jar file, so I entered
java -jar abc.jar
in the script abcd.sh
Now, when I'm running the script
./abcd.sh
it shows an error : "java: Command not found"
What exactly do you mean by this error and how can it be resolved.
|
it means exactly what it says: bash can't find the command "java" (I just assume you're using bash). Maybe it exists somewhere, but it's not in the shell's search path.
Make sure Java is installed, and the Java executable is in the search path.
[X] Doc CPU