On 25/08/11 07:10, Niels Thykier wrote: > On 2011-08-24 23:30, Tomasz Muras wrote: >> Hi All, >> >>> [...] >> No, I don't. >> >> Now, I can reproduce the error when doing the following: >> * using debian/javabuild with: >> javatut.jar src >> * using debian/manifest with: >> usr/share/javatut/javatut.jar: >> Main-Class: net.zabuchy.Main >> >> But as soon as I remove debian/javabuild and debian/manifest and build >> with debian/rules: >> %: >> dh $@ --with javahelper >> >> override_dh_auto_build: >> jh_build -mnet.zabuchy.Main javatut.jar src >> >> everything works just fine. Any thoughts? >> >> Tomek >> >> > > Does it come back if you use jh_manifest to set the main class?
Yes, jh_manifest is to blame: % ./javatut.jar Hello world % jh_manifest -cnet.zabuchy.Main javatut.jar % ./javatut.jar Error! CRCs do not match! Got 1a6cd7b3, expected 0 Tomek -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e569f67.20...@gmail.com