Sorry, I found the answer to my question right after I fired off my message. I should have done of course: gcj3 --main=package.Main -o Main Main.java Utils.java Thanks anyway. myriam