Hi,
Both are different technology, It depends on your requirement, which kind of application or software your company needed?
.NET is free, open source platform that allows the different programming language to run on the .NET platform. It is widely used to build the different range of web applications, mobile applications, gaming development solutions and other software solutions.
On the other side, Java is an object oriented programming language, it supports all the OOP features such as encapsulation, polymorphism, inheritance and abstraction.
Still if you have doubt about what technology will suit to your requirement then consult with Chetu expert
https://www.chetu.com/on-demand-developers/java.php