[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Building concensus/policy for use of alternatives with Java



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Debian Java,
~    I had originally planned to send this message only to
pkg-java-maintainers, but I believe this issue is broader in context and
thus should have input from the debian-java list.
~    The current usage of alternatives for common java executables is
currently in a rough state.  To illustrate this, I ran the
java-alt-setup utility script from the free-java-sdk package on two of
my machines, one sid PowerPC install and one sarge x86 install.  The
default values for alternatives as set by the packages installed have
not been modified.
~    Both machines have kaffe, free-java-sdk (and associated depends),
and a few jdks packaged by java-package installed.  The PowerPC install
also has jamvm.  As you can see in the information at the bottom of the
message, for the PowerPC install the following is true:

Alternative     PowerPC sid     x86 sarge
java            sablevm         sablevm
javac           ibm1.4          sun1.4
jar             ibm1.4          sun1.4
javadoc         gjdoc           gjdoc
javah           javah-cp        javah-cp
javap           javap-cp        javap-cp
jdb             ibm1.4          sun1.4
rmic            ibm1.4          sun1.4
rmid            ibm1.4          sun1.4
rmiregistry     ibm1.4          sun1.4
serialver       serialver-cp    serialver-cp

~    I apologize for the length of the attached info, but it is the list
of alternatives as printed out by the utility, which substantiates the
chart I have formatted on my own.
~    If we could begin to build some concensus about the use of the
alternatives facility with Debian java, I think it would be of great
service to the Debian community and possibly even help us avoid needless
bug reports.

Sincerely,
Barry Hawkins

Debian PowerPC sid installation default values:
$ /usr/lib/fjsdk/bin/java-alt-setup
This program will let you choose java programs you want to use for all
~ your system - using 'alternatives' mechanism.

There are 9 alternatives which provide `java'.

~  Selection    Alternative
- -----------------------------------------------
~      1        /usr/bin/gij-wrapper-3.4
*+    2        /usr/bin/java-sablevm
~      3        /usr/bin/jamvm
~      4        /usr/lib/kaffe/bin/java
~      5        /usr/lib/j2sdk1.3-blackdown/bin/java
~      6        /usr/bin/java-j2sdk1.3-ibm
~      7        /usr/bin/java-j2sdk1.4-ibm
~      8        /usr/lib/j2re1.3-blackdown/bin/java
~      9        /usr/bin/gij-wrapper-3.3

Press enter to keep the default[*], or type selection number:

There are 9 alternatives which provide `javac'.

~  Selection    Alternative
- -----------------------------------------------
~      1        /usr/bin/jikes-sablevm
~      2        /usr/bin/jikes-kaffe
~      3        /usr/bin/jikes-gij
~      4        /usr/lib/kaffe/bin/javac
~      5        /usr/lib/j2sdk1.3-blackdown/bin/javac
~      6        /usr/bin/jikes-classpath
~      7        /usr/bin/javac-j2sdk1.3-ibm
*+    8        /usr/bin/javac-j2sdk1.4-ibm
~      9        /usr/bin/gcj-wrapper-3.3

Press enter to keep the default[*], or type selection number:

There are 5 alternatives which provide `jar'.

~  Selection    Alternative
- -----------------------------------------------
~      1        /usr/bin/fastjar
~      2        /usr/lib/kaffe/bin/jar
~      3        /usr/bin/jar-j2sdk1.3-ibm
*+    4        /usr/bin/jar-j2sdk1.4-ibm
~      5        /usr/lib/j2sdk1.3-blackdown/bin/jar

Press enter to keep the default[*], or type selection number:
No alternatives for jarsigner.

There are 5 alternatives which provide `javadoc'.

~  Selection    Alternative
- -----------------------------------------------
~      1        /usr/lib/kaffe/bin/javadoc
~      2        /usr/lib/j2sdk1.3-blackdown/bin/javadoc
~      3        /usr/bin/javadoc-j2sdk1.3-ibm
~      4        /usr/bin/javadoc-j2sdk1.4-ibm
*+    5        /usr/bin/gjdoc

Press enter to keep the default[*], or type selection number:

There are 5 alternatives which provide `javah'.

~  Selection    Alternative
- -----------------------------------------------
~ +    1        /usr/bin/javah-cp
~      2        /usr/lib/kaffe/bin/javah
~      3        /usr/bin/javah-j2sdk1.3-ibm
~      4        /usr/bin/javah-j2sdk1.4-ibm
~      5        /usr/lib/j2sdk1.3-blackdown/bin/javah

Press enter to keep the default[*], or type selection number:

There are 5 alternatives which provide `javap'.

~  Selection    Alternative
- -----------------------------------------------
*+    1        /usr/bin/javap-cp
~      2        /usr/lib/kaffe/bin/javap
~      3        /usr/bin/javap-j2sdk1.3-ibm
~      4        /usr/bin/javap-j2sdk1.4-ibm
~      5        /usr/lib/j2sdk1.3-blackdown/bin/javap

Press enter to keep the default[*], or type selection number:

There are 3 alternatives which provide `jdb'.

~  Selection    Alternative
- -----------------------------------------------
~      1        /usr/bin/jdb-j2sdk1.3-ibm
*+    2        /usr/bin/jdb-j2sdk1.4-ibm
~      3        /usr/lib/j2sdk1.3-blackdown/bin/jdb

Press enter to keep the default[*], or type selection number:
No alternatives for policytool.

There are 4 alternatives which provide `rmic'.

~  Selection    Alternative
- -----------------------------------------------
~      1        /usr/lib/kaffe/bin/rmic
~      2        /usr/bin/rmic-j2sdk1.3-ibm
*+    3        /usr/bin/rmic-j2sdk1.4-ibm
~      4        /usr/lib/j2sdk1.3-blackdown/bin/rmic

Press enter to keep the default[*], or type selection number:

There are 4 alternatives which provide `rmid'.

~  Selection    Alternative
- -----------------------------------------------
~      1        /usr/bin/rmid-j2sdk1.3-ibm
*+    2        /usr/bin/rmid-j2sdk1.4-ibm
~      3        /usr/lib/j2re1.3-blackdown/bin/rmid
~      4        /usr/lib/j2sdk1.3-blackdown/bin/rmid

Press enter to keep the default[*], or type selection number:

There are 5 alternatives which provide `rmiregistry'.

~  Selection    Alternative
- -----------------------------------------------
~      1        /usr/lib/kaffe/bin/rmiregistry
~      2        /usr/bin/rmiregistry-j2sdk1.3-ibm
*+    3        /usr/bin/rmiregistry-j2sdk1.4-ibm
~      4        /usr/lib/j2re1.3-blackdown/bin/rmiregistry
~      5        /usr/lib/j2sdk1.3-blackdown/bin/rmiregistry

Press enter to keep the default[*], or type selection number:

There are 5 alternatives which provide `serialver'.

~  Selection    Alternative
- -----------------------------------------------
*+    1        /usr/bin/serialver-cp
~      2        /usr/lib/kaffe/bin/serialver
~      3        /usr/bin/serialver-j2sdk1.3-ibm
~      4        /usr/bin/serialver-j2sdk1.4-ibm
~      5        /usr/lib/j2sdk1.3-blackdown/bin/serialver

Press enter to keep the default[*], or type selection number:

Debian x86 sarge installation default values:
$ /usr/lib/fjsdk/bin/java-alt-setup
This program will let you choose java programs you want to use for all
~ your system - using 'alternatives' mechanism.

There are 5 alternatives which provide `java'.

~  Selection    Alternative
- -----------------------------------------------
*+    1        /usr/bin/java-sablevm
~      2        /usr/lib/kaffe/bin/java
~      3        /usr/lib/j2sdk1.4-sun/bin/java
~      4        /usr/bin/java-j2sdk1.3-ibm
~      5        /usr/bin/java-j2sdk1.4-ibm

Press enter to keep the default[*], or type selection number:

There are 5 alternatives which provide `javac'.

~  Selection    Alternative
- -----------------------------------------------
~      1        /usr/bin/jikes-sablevm
~      2        /usr/lib/kaffe/bin/javac
*+    3        /usr/lib/j2sdk1.4-sun/bin/javac
~      4        /usr/bin/javac-j2sdk1.3-ibm
~      5        /usr/bin/javac-j2sdk1.4-ibm

Press enter to keep the default[*], or type selection number:

There are 5 alternatives which provide `jar'.

~  Selection    Alternative
- -----------------------------------------------
~      1        /usr/bin/fastjar
~      2        /usr/lib/kaffe/bin/jar
*+    3        /usr/lib/j2sdk1.4-sun/bin/jar
~      4        /usr/bin/jar-j2sdk1.3-ibm
~      5        /usr/bin/jar-j2sdk1.4-ibm

Press enter to keep the default[*], or type selection number:

There is only 1 program which provides jarsigner
(/usr/lib/j2sdk1.4-sun/bin/jarsigner). Nothing to configure.

There are 5 alternatives which provide `javadoc'.

~  Selection    Alternative
- -----------------------------------------------
*+    1        /usr/bin/gjdoc
~      2        /usr/lib/kaffe/bin/javadoc
~      3        /usr/lib/j2sdk1.4-sun/bin/javadoc
~      4        /usr/bin/javadoc-j2sdk1.3-ibm
~      5        /usr/bin/javadoc-j2sdk1.4-ibm

Press enter to keep the default[*], or type selection number:

There are 5 alternatives which provide `javah'.

~  Selection    Alternative
- -----------------------------------------------
*+    1        /usr/bin/javah-cp
~      2        /usr/lib/kaffe/bin/javah
~      3        /usr/lib/j2sdk1.4-sun/bin/javah
~      4        /usr/bin/javah-j2sdk1.3-ibm
~      5        /usr/bin/javah-j2sdk1.4-ibm

Press enter to keep the default[*], or type selection number:

There are 5 alternatives which provide `javap'.

~  Selection    Alternative
- -----------------------------------------------
*+    1        /usr/bin/javap-cp
~      2        /usr/lib/kaffe/bin/javap
~      3        /usr/lib/j2sdk1.4-sun/bin/javap
~      4        /usr/bin/javap-j2sdk1.3-ibm
~      5        /usr/bin/javap-j2sdk1.4-ibm

Press enter to keep the default[*], or type selection number:

There are 3 alternatives which provide `jdb'.

~  Selection    Alternative
- -----------------------------------------------
*+    1        /usr/lib/j2sdk1.4-sun/bin/jdb
~      2        /usr/bin/jdb-j2sdk1.3-ibm
~      3        /usr/bin/jdb-j2sdk1.4-ibm

Press enter to keep the default[*], or type selection number:
No alternatives for policytool.

There are 4 alternatives which provide `rmic'.

~  Selection    Alternative
- -----------------------------------------------
~      1        /usr/lib/kaffe/bin/rmic
*+    2        /usr/lib/j2sdk1.4-sun/bin/rmic
~      3        /usr/bin/rmic-j2sdk1.3-ibm
~      4        /usr/bin/rmic-j2sdk1.4-ibm

Press enter to keep the default[*], or type selection number:

There are 3 alternatives which provide `rmid'.

~  Selection    Alternative
- -----------------------------------------------
*+    1        /usr/lib/j2sdk1.4-sun/bin/rmid
~      2        /usr/bin/rmid-j2sdk1.3-ibm
~      3        /usr/bin/rmid-j2sdk1.4-ibm

Press enter to keep the default[*], or type selection number:

There are 4 alternatives which provide `rmiregistry'.

~  Selection    Alternative
- -----------------------------------------------
~      1        /usr/lib/kaffe/bin/rmiregistry
*+    2        /usr/lib/j2sdk1.4-sun/bin/rmiregistry
~      3        /usr/bin/rmiregistry-j2sdk1.3-ibm
~      4        /usr/bin/rmiregistry-j2sdk1.4-ibm

Press enter to keep the default[*], or type selection number:

There are 5 alternatives which provide `serialver'.

~  Selection    Alternative
- -----------------------------------------------
*+    1        /usr/bin/serialver-cp
~      2        /usr/lib/kaffe/bin/serialver
~      3        /usr/lib/j2sdk1.4-sun/bin/serialver
~      4        /usr/bin/serialver-j2sdk1.3-ibm
~      5        /usr/bin/serialver-j2sdk1.4-ibm

Press enter to keep the default[*], or type selection number:



- --
Barry Hawkins
All Things Computed
site: www.alltc.com
weblog: www.yepthatsme.com

Registered Linux User #368650

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCOM7y7bZ6kUftWZwRAnv3AJ4rY3SwaLNlUNWIdNR8dllbGhiucQCeOD6y
Dl1UXd9wE1a3phhBK2AVJuk=
=By70
-----END PGP SIGNATURE-----



Reply to: