We hope that you are convinced that Java code has a number of advantages over code written in languages like C or C++—even for platform-specific applications. Here, of course, it is not portability that is the issue but rather features like these:
You are more likely to produce bug-free code using Java than C or C++.
Multithreading is probably easier to code in Java than in any other language.
Networking code is a breeze.
Portability is simply a bonus that you may or may not want ...