Split config to “java” section and “common” section