Looking at the current debian/rules & debian/control files I see: Build-Depends: debhelper (>= 7),sun-java6-jdk,ant,cdbs and JAVA_HOME := /usr/lib/jvm/java-6-sun So you need to move your package to contrib and not main if sun-java is indeed required. -- Mathieu