Package: eclipse-platform
Version: 2.1.3-4
Severity: minor
Tags: patch

Hi,

the sun java packages created by java-package will install java in
/usr/lib/j2sdk1.4-sun or similiar. Most people will obviously create
a link from /usr/local to java or add it to the the $PATH.

In order to find it, I changed the search mechanism for $JAVACMD in
/usr/share/eclipse/start-functiones.sh
from
-----
   if [ -x /usr/bin/java ] ; then
      echo "Using default /usr/bin/java as java virtual machine..."
      JAVACMD="/usr/bin/java"
   else
-----
to
-----
   if [ -x `which java` ] ; then
      JAVACMD=`which java`
      echo "Using default $JAVACMD as java virtual machine..."
   else
-----

BTW, shouldn't the file better be named start-functions.sh without the E ?

Bye,
  Toby

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: [EMAIL PROTECTED], LC_CTYPE=iso_8859_15 (charmap=ISO-8859-1) (ignored: 
LC_ALL set to de_DE)

Versions of packages eclipse-platform depends on:
ii  libeclipse-jni                2.1.3-4    Platform dependend files for eclip
ii  liblucene-java                1.4.3-4    full-text search engine library fo
ii  liblucene-java-doc            1.4.3-4    demonstration programs and example
ii  libswt2.1-gtk2-java [libswt2. 2.1.3-4    Fast and rich GUI toolkit for Java
ii  sun-j2re1.4debian [java2-runt 0.18       Debian specific parts of Java(TM) 
ii  sun-j2sdk1.4 [j2re1.4]        1.4.2+05   Java(TM) 2 SDK, Standard Edition, 
ii  sun-j2sdk1.4debian [java2-run 0.18       Debian specific parts of Java(TM) 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to