I have Java 6 update 26 which will soon be updated again. Personally I'd remove Java using programs and features then run mallwarebytes and Superantispyware. Delete all they find and reboot. Run a scan with Avira again and if clean reinstall the latest Java.
Microsoft Lumia 950 vs Lumia 950 XL: What's the difference between Lumia 950 & 950 XL?