one of java's strengths is the 'write once, run anywhere' philosophy, which should probably be "compile once, run anywhere".
With C/C++, you must re-compile your code for each platform you want to run it on, and make sure you send the right .exe for the right system.
with java, you can send the EXACT same source files to everyone, and regardless of their platform/version, it will run (assuming there is a jvm for that platform).
Now, of course it is possible to write code that won't be portable, but why would you do that?
Never ascribe to malice that which can be adequately explained by stupidity.
Joined: Dec 21, 2007
I would just add that I considered wxWidgets for quite some time as I came from C/C++. However, I find that the support base for Java to be infinite in comparison to wxWidgets and QT combined. There's a tremendous amount of flexibility in developing a wide range of applications using Java that I couldn't find in wx and Qt. But what finally put the change in my thinking was my company providing me with a free voucher to take a Sun exam, thus Java it is. I also weighed the options of either .Net or Java and ended up choosing Java in the end because I value things that are free.