note that jpattern.jar is included in gpattern.jar