Hello all, a few days ago I had to install Java in a laptop in order for a web application to be able to function properly. I followed directions found in the internet (mostly the debian wiki and the Adobe download page). Now I want to uninstall Java and undo all settings to go were I was before all this got started. The installed system is a (rather stock) Debian 7 Wheezy LXDE. I paste here the relevant commands from my bash history (for root and for my user): -----8<--------------------8<----------------------8<------------ root@debian:/home/jcb# history apt-get install default-jre aptitude search jdk apt-get install default-jre aptitude search java aptitude install java-package make-jpkg /home/jcb/Downloads/jre-8u25-linux-i586.tar.gz aptitude search jre aptitude install openjdk-7-jre aptitude install openjdk-7-jre-lib aptitude install icedtea-7-plugin aptitude uninstall openjdk-7-jre aptitude purge openjdk-7-jre aptitude install openjdk-7-jre-lib icedtea-7-plugin ln -s /usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386/IcedTeaPlugin.so > mozilla-javaplugin.so ls -la /usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386/ cd /etc/alternatives ln -s /usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386/IcedTeaPlugin.so > mozilla-javaplugin.so ls -la mozilla-javaplugin.so cd /usr/lib/mozilla/plugins/ ln -s /etc/alternatives/mozilla-javaplugin.so > mozilla-javaplugin.so ls -la mozilla-javaplugin.so ln -s /etc/alternatives/mozilla-javaplugin.so mozilla-javaplugin.so cd /home/jcb/Downloads/ mv /home/jcb/Downloads/jdk1.8.0_25 /opt cd /opt/ update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_25/bin/java 1 update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_25/bin/javac 1 update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /opt/jdk1.8.0_25/jre/lib/i386/libnpjp2.so update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /opt/jdk1.8.0_25/jre/lib/i386/libnpjp2.so 1 update-alternatives --set java /opt/jdk1.8.0_25/bin/java pdate-alternatives --set javac /opt/jdk1.8.0_25/bin/javac update-alternatives --set javac /opt/jdk1.8.0_25/bin/javac update-alternatives --set mozilla-javaplugin.so /opt/jdk1.8.0_25/jre/lib/i386/libnpjp2.so java -version jcb@debian:~$ history aptitude search jdk su fakeroot make-jpkg /home/jcb/Downloads/jre-8u25-linux-i586.tar.gz ----->8-------------------->8---------------------->8------------ Thanks in advance Dalios |