remove java duplicated package

view full story

http://askubuntu.com – i have installed java, following 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.list sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 5CB26B26 sudo apt-get update sudo apt-get install update-sun-jre without uninstalling the other one, now i have 2 or 3 java on my pc lol, netbeans is not running anymore and whenever i do sudo apt-get update i get warning about dupes, i just want to keep one java which i have installed without following netbeans instructions, i'm gonna uninsta (HowTos)