adding java submodule and print_environment