Revert "Removed java_main.yml"

This reverts commit 55c862285daf2f1b696d266cd96bc7faf32134e7.