Step 1: Go to "<Applicare SingleAgent_home_path>\Wrapper\Linux" directory and edit the config.sh file.
Step 2: Copy the line that says JAVA_BINARY_PATH_DEFAULT="", comment it and paste it in the next line, put the java directory in double quotes as below and save it.
Before changes config.sh file
After changes config.sh file
Step 3: To install Applicare Singleagent execute install.sh file.