I'm on linux mint 12I have installed Java, following the NetBeans instructions. It wasn't working on chrome, so I installed it like that:sudo echo 'deb http://www.duinsoft.nl/pkg debs all' >> /etc/apt/sources.listsudo apt-key adv --keyserver keys.gnupg.net --recv-keys 5CB26B26sudo apt-get updatesudo apt-get install update-sun-jrewithout uninstalling the other one, now I have 2 or 3 java on my PC, NetBeans is not running anymore and whenever I do sudo apt-get update I get warnings about dupes.I just want to keep one Java which I have installed without following netbeans instructions, I'm going to uninstall NetBeans and use Eclipse.Fslint is not finding the dupes, I don't why. I don't trust tools, I only trust terminal, so how to do it from there?
Remove duplicated Java packages
ubuntu;linux mint;package management;java;duplicate