Looked at the trends for various different languages. Obviously, the trends are for all searches on Google - not only those related to the programming language. I couldn't find another language that was rising where Java is falling.
It's still a LOT of work to get a J2EE app up and running... Java isn't going anywhere, but as far as the web goes, I see a move to lighter solutions like Grails.
It takes a ton of work to get Grails up and running too.
Perhaps it stopped being hip, "sold out" and now is considered the standard for boring CRUD enterprise applications.
That happened around 2002-3.
The main problem is: Sun died and Oracle does nowhere near a good job at marketing Java or making it better.