Installing OpenNMS and had a bit of a snag. Issue resolved but it left me wondering...
Why doesn't this work:
[nac@localhost /]$ cd opt/opennms/bin/
[nac@localhost bin]$ runjava -s
-bash: runjava: command not found
...but this does:
[nac@localhost /]$ opt/opennms/bin/runjava -s
runjava: Looking for an appropriate JRE...
runjava: Checking for an appropriate JRE in JAVA_HOME...
runjava: skipping... JAVA_HOME not set
runjava: Checking JRE in user's path: "/usr/bin/java"...
runjava: found an appropriate JRE in user's path: "/usr/bin/java"
I'm using cygwin. ssh into a fedora box. the output is green for ls /opt/opennms/bin if that helps...