Added license headers to Java SDK

Added the license headers and it still builds locally for me.