J & J Snack Foods Corp. has acquired Snackworks LLC, Bavarian Brothers, a manufacturer of soft pretzels headquartered in Rancho Cucamonga, California.