Java, 65 bytes
class H{static{System.out.print("Hello World!");System.exit(0);}} This is Java 6. Doesn't work anymore from Java 7+ because those versions will complain that the main method is missing.
Java 6 will still complain that the main method is missing, but after having executed the static block. So System.exit(0); effectively exits, bypassing that check.