The node you are looking for is at Detecting invariants when running a Java program from a jar file.