When I try to create remote container using container-create-ssh, I get below error.
Command Failed:Java is not installed
While going through forum, I found below link which says symbolic link needs to be created in the /usr/bin and it works fine if I manage to create symlink with java pointing to /usr/bin/java.
https://access.redhat.com/knowledge/solutions/277123
However there are some boxes where I do not have permission to create sym link. Above page mentions that "If Java is not found when attempting to create a remote SSH container in Fabric, ensure that the Java executable can be located in one of the directories set in the /etc/profile configuration."
Which file/property do I need to modify to take java from my specified directory instead of default /usr/bin/java?