create java8 and java7 submodules