Symantec Protection Engine installation to Linux fails because it is unable to find the path to where Java is installed
search cancel

Symantec Protection Engine installation to Linux fails because it is unable to find the path to where Java is installed

book

Article ID: 268936

calendar_today

Updated On:

Products

Protection Engine for NAS

Issue/Introduction

Repeated attempt to install SPE 9.0.1 to Linux (in this case Rocky Linux 8) failed because it could not find the path to where the Java binary file is located despite the fact that a supported version of Java was installed correctly.

Error: The required Java Runtime Environment could not be found. Please specify the base path where 64 bit Java is installed, 1.8 family updated 232 or higher in the series.

Environment

Release : 9.0.1, 9.1x

Cause

The installation program was unable to resolve the symbolic links to the actual path where the Java binary file was located. This is likely caused by how the Linux OS was configured when installed.

When Java is installed correctly you can run two commands to see where it is located and which path it would choose if invoked.

whereis java

which java

A more direct method would be to run the command:  ll /etc/alternatives/java

 

Resolution

In the previous example the direct path to enter would be: /usr/java/jre1.8.0_361-amd64  (this points to where the /bin folder is which is where the java binary file is going to be)