If you just want to set the classpath I suggest using jh_classpath instead. The debian/package.classpath file contains one line per jar and you don't have to care about the length of the lines:
usr/share/java/foo.jar jar1.jar jar2.jar jar3.jar -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org