Converted my project to a runnable application (not easy -- had to manually edit manifest.mf, specify the main class, etc.; best to start with a Java app target if that's what you want to end up with). Now it will zip and return the size of a string on the command line; I'll add NCD from the command line next.