2

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.

Mounika
  • 19
  • 4

1 Answers1

2

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.

Lohit Gupta
  • 1,045
  • 6
  • 11
  • output for java -version command ..../usr/lib/jvm/java-8-openjdk-amd64 and i have done echo $PATH and this is output ..../usr/lib/jvm/java-8-openjdk-amd64/bin:/usr/lib/jvm/java-8-openjdk-amd64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin – Mounika Jul 05 '17 at 11:03
  • @Mounika you will have to edit the appscan.sh script with correct path for java so that it uses the one you get from `which java` command instead of `/opt/SAClientUtil.6.0.1142/bin/..//jre/bin/java` – Lohit Gupta Jul 05 '17 at 11:53
  • Thank you Lohit Gupta.It is resolved. i have installed these dependencies..glibc.i686 libgcc.i686 libstdc++.i686....and it is working fine – Mounika Jul 05 '17 at 12:47