Java is platform independent, free, open source and much more ..micro$oft trying to do something like java they produced the .net which is very weak ..
Well although the .net IDE is pretty good but this doesn't implies the compiled software is stable even though !
java is the best portable language .. [ standard c++ is the best of course but more difficult a bit ]