mergest both java configs