Nothing. Java was designed to be platform independent. All the data types are fixed (i.e., 64bit, 32bit, 16bit, 8bit). All the input/output streams/readers work on a high level so you don't have to worry if you are running on a Unix box or a Windows box. I develop both in Unix (GNU/Linux) and Windows and I yet to notice a difference... David.
I read that there can be speed differences as well, depending on the JVM. Microsofts is supposed to be good, and would probably run your java faster than many others (espesially on lesser-used systems, where less development has been put into the JVM). Also, depending on what API you use, your java may look different. If you use 'heavyweight' components, like those of AWT, the stuff you write (windows, buttons, etc.) will look the same as normal windows/buttons from that system. If you use 'lightweight' components, like most of SWING, they look the same on whatever platform. But these are only minor details - basically, like David said, there are no real differences.
Joined: Dec 12, 2000
Yeah, thanks Grant. He's right. Some minor points about speed and looks, but if you stick with "lightweight" components such as Swing provides then you'll have a consistent look and feel... Speed, ahem, Java isn't noted for it's *speed*... :-) But as Grant rightly points out, there may be minor speed variations on platforms. Personally I only use the Sun JVM on Windows and Blackdown on Linux. David.
Joined: Dec 18, 2000
thanks David & Ranch hands please explain Blackdown in linux.Why the speed differs while using different platform.
In the different OS's I think that there is a differnce on the way each system runs threads. Some use a timesplicing system, while others use a priority system. I'm not sure which system implements which method but I know that it is different on Solaris, Unix, and Windows.