That's...odd... Try printing out entry.getName() to the console before you put it in the jar. I want to know if it is returning "sample.class" or if it actually is returning "bin/sample.class". If...