#!/bin/sh # # $Id: README.alternatives,v 1.2 2002/01/19 05:52:36 srz Exp $ # # The jdk1.1 and kaffe packages (and maybe other Java related packages) # all use symlinks in the /etc/alternatives directory to enable the # system administrator to choose which programs to use for java, javac, # javah, etc. # The following code resets all the symlinks for j2re1.3 at once. # You can execute this code with # '/bin/sh /usr/share/doc/j2re1.3/README.alternatives' # # To reset all the symlinks for the j2sdk1.3 package (if installed), # you can execute the code: # '/bin/sh /usr/share/doc/j2sdk1.3/README.alternatives' for i in java keytool policytool rmid rmiregistry tnameserv \ JavaPluginControlPanel javaplugin.so javaplugin_oji.so \ javaplugin_oji-mozilla-cvs.so do update-alternatives --auto $i done exec /var/lib/dpkg/info/j2re1.3.postinst configure