After using the role for installing JDK with following parameters:
java_version: 8
java_subversion: 91
java_set_javahome: true
the script is copied to /etc/init.d directory (with execute permissions), but it seems not executed because immediately printing JAVA_HOME gives blank string. But on logging out and re-login, it gives appropriate value.
INFO: Works fine with CentOS 7.
Any help would be appreciated.
After using the role for installing JDK with following parameters:
java_version: 8
java_subversion: 91
java_set_javahome: true
the script is copied to /etc/init.d directory (with execute permissions), but it seems not executed because immediately printing JAVA_HOME gives blank string. But on logging out and re-login, it gives appropriate value.
INFO: Works fine with CentOS 7.
Any help would be appreciated.