By default you will have programs installed that use Java, so you can't remove it easily. What you can do easily, is remove Java from your web browser. That is the primary concern in all these warnings you read about also, using an unpatched Java version in your browser. You can remove IcedTea, which is the Java plugin for your browser, with:
- Code: Select all
sudo apt-get --purge autoremove icedtea-*
Also note that Oracle Java (the one in all these warnings) is not the same product as OpenJDK Java, which you have installed. Still, it may be a good practice to not use Java in your web browser.