Skip to content

Need to re-login in Ubuntu 14.04 to correctly set JAVA_HOME #41

@niravradia

Description

@niravradia

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions