delete other config files and add java_main