from what i had learned so far you can't doubleclick and run in it windows. If you want to run it bydouble click the only way I know is that make ur classfile to an executable jar file that way you can doubleclick the jar file and run it.