I need to configure my Jenkins Server and I need to add Java path to Jenkins configuration.
yum install java-1.8.0-openjdk
Ho
try this if java command works
readlink -f $(which java)