"Adam Majer" <adamm@galacticasoftware.com> writes: > Debconf should be used to allow the user to select the priority > of the classes that jikes should check for. IOW, something like > > [1] - Kaffe > [2] - Other [admin enters path] > [3] - IBM JDK > [4] - Sun. > etc... Another way is to provide small scripts jikes-kaffe, jikes-ibm, jikes-sun, etc. and make /usr/bin/jikes handled by update-alternatives. This would make it consistent with how /usr/bin/java is currently handled. (Perhaps the default could even be determined by looking at the java alternative.) The main improvement over debconf (apart from asking the admin one less question during install) is that users can easily override the system default by using another jikes-foo script (easier than having to remember that kaffe spells it "Klasses", not "klasses" or "classes"). Finally, any solution should still support the old method of CLASSPATH=some-jre.jar jikes or jikes -classpath some-jre.jar -- Robbe
Attachment:
signature.ng
Description: PGP signature