A "No such file or directory" error occurs with the appscan.sh command

791 Views Asked by At

I am trying to generate .irx file using SAClientUtil.6.0.1142 in a Linux machine. However, when I execute the appscan.sh prepare -c <config file> -d <destination file> command, it throws an error like:

SAClientUtil.6.0.1142/bin/appscan.sh: line 75: /opt/SAClientUtil.6.0.1142/bin/..//jre/bin/java: No such file or directory

Anyone please help me.

1

There are 1 best solutions below

3
On

Looks like either you don't have a JRE installed on your linux system or it is not installed at path /opt/SAClientUtil.6.0.1142/bin/..//jre/bin/java.

java -version will tell you the java version if its installed, and which java will tell you the location where it is installed.