I wouldn't say that Java is the security problem. I would say owning a computer and having it connected to Internet is the problem - or having your cellular phone connected there.
I don't think there is a single risk free zone. Until you get your coffin to lie safely in.