Too many web pages rely on scripting to remove JavaScript, in my opinion.
Java is different. Not many sites at all require that, and these days you can easily disable it from running on your browser (in the Java control panel). I'm not keen on enabling it on my browser except for particular sites (like financial ones with involved financial tools).
I love Java as a programming language, though. We use it as the main language for code that runs the industrial instruments our company builds, where a single crash of the application costs hundreds to thousands of dollars in wasted materials and 1-3 days delay in production. It's used on machines in our own production facility and customer sites in various other countries. It's been great for that.