Bug#345756: eclipse-platform-common: The included patch fixes the problem (at least for me)

Yaacov Akiba Slama ya at slamail.org
Thu Jan 5 13:24:44 UTC 2006


Package: eclipse-platform-common
Version: 3.1.1-7
Followup-For: Bug #345756

The problem is described for instance in bash's FAQ ; http://cnswww.cns.cwru.edu/~chet/bash/FAQ in the point E4.

--- /usr/bin/eclipse	2006-01-02 13:20:07.000000000 +0200
+++ /usr/bin/eclipse	2006-01-05 13:49:22.000000000 +0200
@@ -65,8 +65,10 @@
 # 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
+    javahomelist=`cat /etc/eclipse/java_home  | grep -v '^#' | grep -v '^$' | while read line ; do echo -n $line ; echo -n ":" ; done`
+    OFS="$IFS"
+    IFS=":"
+    for JAVA_HOME in $javahomelist ; do
         echo -n "  testing ${JAVA_HOME}..."
         if [ -x "${JAVA_HOME}/bin/java" ]; then
             export JAVA_HOME
@@ -76,6 +78,7 @@
             echo "not found"
         fi
     done
+    IFS="$OFS"
 fi
 
 # If we don't have a JAVA_HOME yet, we're doomed.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages eclipse-platform-common depends on:
ii  gij [java1-runtime]           4:4.0.2-2  The GNU Java bytecode interpreter
ii  gij-4.0 [java1-runtime]       4.0.2-5j2  The GNU Java bytecode interpreter
ii  gij-4.1 [java1-runtime]       4.1-0exp4  The GNU Java bytecode interpreter
ii  jamvm [java1-runtime]         1.4.1-1    virtual machine which conforms to 
ii  java-common                   0.23       Base of all Java packages
ii  java-gcj-compat               1.0.44-1   Java runtime environment using GIJ
ii  kaffe-pthreads [java1-runtime 2:1.1.6-3  A POSIX threads enabled version of
ii  sablevm [java1-runtime]       1.11.3-2   Free implementation of Java Virtua
ii  zenity                        2.12.1-1   Display graphical dialog boxes fro

eclipse-platform-common recommends no packages.

-- no debconf information




More information about the pkg-java-maintainers mailing list