Java issue

I have website that I use for my job for time and attendance. It runs on an old Java version 6.26. Lately I’m not able to access it telling me Java script failed to load. I tried uninstalling it and reinstalling it. Did everything I could with compatibility settings etc. Can the Avast anti virus be able to detect if anything is affecting this?