According to my knowledge , Java and Dotnet has their own value. In Java we need to write code for every application and for every box but in Dotnet we make the application with tools which are provided in the software but here also we write the code but not as much as JAVA.
Java has lot of demand than Dotnet. But both are good. Which one you feel easy to learn choose that.
I think Java is platform independent language and this the main advantage to use this language. To get a good job,i would prefer to go in Java language. Its future prospects are good and you would get much good job .
.NET is now becoming common. Though its a good language and many people are involve in it,but the competition is more in this.
Very few people go for java,because lot of hard work in involve in it. WE need to remember all codes and rules in java.
I advise you to choose .net because as i know in .net we easily got job as a fresher and in java we have to struggle a little bit....But one you enter in java field then i assure you you never turn back........
It is Better than .net but opportunities are very less in India.They want Expert in this field but in .net you got a easy chance if you only know this Subject...........