Using java as a submodule so that it can work with opsworks