Hi Divyanshu,
Without JAVA_HOME also, getting the issue.There is no permenant JAVA_HOME for orasid user.
Temporarly i set the JAVA_HOME for orasid user and run the script,Still getting the same issue.
which java
/usr/bin/java
env:JAVA_HOME=/usr/bin/java
Regards
MAruthi V