I am deploying java application to RH Linux using Deploy Java Archive template step. However, got the following error
Failed to run java. You must have Java 1.8 or later installed on the target machine, and have the java executable on the path or have the JAVA_HOME environment variable defined
The remote script failed with exit code 1
The action Java Archive on LnxDev2 failed
Java 1.8 is installed on the target machine. Is it possible to set JAVA_HOME only for tentacle service? If so in which file?