Package: eclipse-platform-common Version: 3.1.1-7 Severity: normal Tags: patch
after this piece of code: # If the user has not set JAVA_HOME, cycle through our list of compatible VM's # and pick the first one that exists. if [ -z "${JAVA_HOME}" ]; then echo "searching for compatible vm..." cat /etc/eclipse/java_home | grep -v '^#' | grep -v '^$' | \ while read JAVA_HOME; do echo -n " testing ${JAVA_HOME}..." if [ -x "${JAVA_HOME}/bin/java" ]; then export JAVA_HOME echo "found" break else echo "not found" fi done fi $JAVA_HOME is always empty and eclipse will not start replacing cat·/etc/eclipse/java_home·|·grep·-v·'^#'·|·grep·-v·'^$'·|·while·read·JAVA_HOME;·do with for JAVA_HOME in `cat /etc/eclipse/java_home | grep -v ^# | grep -v ^$`; do should work without the export -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.4.32 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages eclipse-platform-common depends on: ii gij-4.0 [java1-runtime] 4.0.2-5j2 The GNU Java bytecode interpreter ii java-common 0.23 Base of all Java packages ii zenity 2.10.1-1 Display graphical dialog boxes fro eclipse-platform-common recommends no packages. -- no debconf information