archiver-appliance / epicsarchiverap

This is an implementation of an archiver for EPICS control systems that aims to archive millions of PVs.
Other
39 stars 38 forks source link

define bin path of JAVA environment in quickstart #13

Closed jeonghanlee closed 8 years ago

jeonghanlee commented 8 years ago

Hi Murali, It is not a issue, but just a simple comment. It would be better to check or mention that one should setup the java _bin path_ correctly, because of jar command in 204 line of the quickstart.sh.
Thanks, Han

slacmshankar commented 8 years ago

Something like so in the quickstart.sh would work?

_java=type -p java; _jar=type -p jar; if [ -z "${_java}" -o -z "${_jar}" ]; then echo "Cannot find the java/jar executables. Please set your PATH correctly."; fi

jeonghanlee commented 8 years ago

Good idea for people like me (I think, not many :) ) , in order to identify what the problem is when a PATH is incorrect. Thanks, Han