exit -1 makes build fail, if Java JDK not set and revised the SWIG related messages