completing java 1.8 upgrade

tests were failing due to incompatible spring and junit versions.
apparently JavaScript engine on 1.8 mac does not support println, so
switched to print instead