Bug#504778: java-package: Pawels patch also works on etch, but some binaries not in alternatives

Martin Weis martin.weis.newsadress at gmx.de
Thu May 7 17:01:16 UTC 2009


Package: java-package
Version: 0.42
Followup-For: Bug #504778


I created the same patch as Pawel, and it worked also for etch (oldstable). I installed the lenny version of 
java-package manually. The ubuntu patch is more complete, so it might be worth including that one.

Some things are a bit different from the other sun-java versions: The package installs into 
/usr/lib/, not as the official packages into /usr/lib/jvm/, but that is not really a problem.

update-alternatives --config java 
          1    /usr/bin/gij-wrapper-4.1
          2    /usr/lib/jvm/java-1.5.0-sun/jre/bin/java
          3    /usr/lib/jvm/java-6-sun/jre/bin/java
          4    /usr/lib/j2sdk1.6-sun/bin/java


update-java-alternatives -l # does not recognize the new java version
java-1.5.0-sun 53 /usr/lib/jvm/java-1.5.0-sun
java-6-sun 63 /usr/lib/jvm/java-6-sun

not all alternatives are there, as far as I can see from update-java-alternatives -l -v. There are quite a lot of 
binaries, I mark the missing alternatives in update-alternatives with a * :
ControlPanel
java
java_vm	*
javaws
jcontrol
keytool
pack200
policytool
rmid
rmiregistry
unpack200
orbd
servertool
tnameserv
jexec
HtmlConverter
appletviewer
apt
extcheck
idlj
jar
jarsigner
java-rmi.cgi
javac
javadoc
javah
javap
jconsole
jdb
jhat
jinfo
jmap
jps
jrunscript
jsadebugd
jstack
jstat
jstatd
jvisualvm
native2ascii
rmic
schemagen
serialver
wsgen *
wsimport *
xjc *
xulrunner-1.9-javaplugin.so *
firefox-javaplugin.so	
iceape-javaplugin.so *
iceweasel-javaplugin.so	
mozilla-javaplugin.so
midbrowser-javaplugin.so *
xulrunner-javaplugin.so *

Ok, so far my observations. 
Thanks for your efforts,
Martin

-- System Information:
Debian Release: 4.0
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages java-package depends on:
ii  debhelper                    5.0.42      helper programs for debian/rules
ii  fakeroot                     1.5.10      Gives a fake root environment
ii  libasound2                   1.0.13-2    ALSA library
ii  libx11-6                     2:1.0.3-7   X11 client-side library
ii  unzip                        5.52-9etch1 De-archiver for .zip files

Versions of packages java-package recommends:
ii  dpkg-dev                      1.13.26    package building tools for Debian
ii  gcc                           4:4.1.1-15 The GNU C compiler

-- no debconf information





More information about the pkg-java-maintainers mailing list