Package: clirr Version: 0.6-4 Severity: normal miguel@lamari:~/groovy/checks$ clirr -o foo/usr/share/java/groovy-1.8.6.jar -n bar/usr/share/java/groovy-2.1.6.jar | grep ERROR Exception in thread "main" java.lang.RuntimeException: java.lang.ClassNotFoundException: org.objectweb.asm.Opcodes not found. at net.sf.clirr.core.internal.bcel.BcelJavaType.getAllInterfaces(BcelJavaType.java:86) at net.sf.clirr.core.internal.checks.InterfaceSetCheck.check(InterfaceSetCheck.java:58) at net.sf.clirr.core.Checker.runClassChecks(Checker.java:190) at net.sf.clirr.core.Checker.reportDiffs(Checker.java:136) at net.sf.clirr.cli.Clirr.run(Clirr.java:155) at net.sf.clirr.cli.Clirr.main(Clirr.java:56) Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.Opcodes not found. at org.apache.bcel.util.ClassLoaderRepository.loadClass(ClassLoaderRepository.java:91) at org.apache.bcel.classfile.JavaClass.getInterfaces(JavaClass.java:788) at org.apache.bcel.classfile.JavaClass.getAllInterfaces(JavaClass.java:804) at net.sf.clirr.core.internal.bcel.BcelJavaType.getAllInterfaces(BcelJavaType.java:83) ... 5 more
After editing /usr/bin/clirr script and adding /usr/share/java/asm4.jar to the CLASSPATH, I was able to use this tool. -- System Information: Debian Release: 7.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- Miguel Landaeta, miguel at miguel.cc secure email with PGP 0x6E608B637D8967E9 available at http://keyserver.pgp.com/ "Faith means not wanting to know what is true." -- Nietzsche
signature.asc
Description: Digital signature