If sun refuses to break backwards compatibility as far as the language syntax, it will start slowly declining within the next 5-10 years. Code running on current platforms will live on pretty much forever, leaving a niche market for java programmers while the enterprise industry moves on to the next new technology. The virtual machine concepts underlying today's jvms though, will be the foundation for a huge amount of new platform work for the forseeable future.