tags 380136 patch thanks for stopping processing here I found that dpkg-buildpackage would fail various different ways depending on what the /usr/bin/java alternative was pointing to. This patch makes it work regardless of the alternative.
Thanks, stew
diff -ru lucene-1.4.3.debian.orig/debian/rules lucene-1.4.3.debian/debian/rules --- lucene-1.4.3.debian.orig/debian/rules 2006-09-20 11:29:51.000000000 -0400 +++ lucene-1.4.3.debian/debian/rules 2006-09-20 11:30:12.000000000 -0400 @@ -19,7 +19,7 @@ JAVA_HOME=/usr/lib/jvm/java-gcj # Set the invocation of the java command; -JAVACMD=$(JAVA_HOME)/bin/java +export JAVACMD=$(JAVA_HOME)/bin/java # Class path: Ant requires a JAXP-compatible XML parser # You need to set CLASSPATH here (even if your build.xml assembles its own