Update java_main.yml

I really don't know what i'm doing...