Bug#701791: java-common: update default-java when setting new alternantive
Package: java-common
Version: 0.48
Severity: normal
Dear Maintainer,
* What led up to the situation?
Fro informaion :
- I have on my system all java alternatives (openjdk (6,7) and oracle java
(6,7)).
- I'm generating deb package for oracle jdk with make-jpkg script to have the
most debian compliant installation and simplify upgrade.
When I'm using update-java-alternatives, it works well for commands but, it
would more usefull if it change also the directory link java-default to the
selected java alternative.
* What exactly did you do (or not do) that was effective (or
ineffective)?
All command links are mostly good (missing jvisualvm for oracle alternatives),
but the directory link "java-default" (/usr/lib/jvm) is not updated (pointing
all the time to openjdk 7).
* What outcome did you expect instead?
Update all commands and the "java-default" directory link...
Please consider that issue because some software (like netbeans 7.3) are using
it and I would provide the right JVM to it in changing java alternative and not
by editing software configuration files.
Best regards
Mourad
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.7-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
java-common depends on no packages.
java-common recommends no packages.
Versions of packages java-common suggests:
ii default-jre 1:1.7-48
pn equivs <none>
-- no debconf information
Reply to: