Seeing as how you already know PHP, I would say Javascript is the next big thing, especially if you're into cool looking web apps. It's also something you'd need no matter what your server side is.
Seeing as how you already know Java, I would say Javascript is the next big thing, especially because it's also something that you can use server side.