Jan Schulz wrote:
I'm currently using this line to get 'java' in debian/rules: jdk_dirs=/usr/lib/j2sdk1.4 /usr/lib/j2se/1.4 /usr/lib/j2se/1.3 /usr/lib/j2sdk1.3 JAVA_HOME ?= $(shell for jdir in $(jdk_dirs) ; do if [ -d "$$jdir" ]; \ then echo \ $$jdir;exit 0;fi;done)
In eclipse? I think #197484 is a perfect example why this is bad and why you should use one specific JDK version.
Stefan