Ben Burton wrote:

JAVA_HOME=/usr/lib/j2se/1.4


Would there be a way of making this bit magic? i.e. following the
/usr/bin/java symlink?



This is dangerous - even if you jave j2sdk1.4 installed, /usr/bin/java might still point to kaffe, gij, etc. I'd stick with a hard-coded path, especially if it requires java2 stuff.

It's best to have both options. Otherwise it forces every package to
build-depend on a specific JVM, even though some might work with any JVM.

Daniel





Reply via email to