Add ip address command line argument and update to java 1.7.