aspose file tools*
The moose likes Beginning Java and the fly likes comparison Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "comparison" Watch "comparison" New topic
Author

comparison

kanagaraj swamy
Greenhorn

Joined: Dec 18, 2000
Posts: 8
hai
what is difference between running JAVA in windows platform
/in unix/linux platform.

thanks
David Harrigan
Ranch Hand

Joined: Dec 12, 2000
Posts: 52
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.
Grant Crofton
Ranch Hand

Joined: Nov 08, 2000
Posts: 154
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.
David Harrigan
Ranch Hand

Joined: Dec 12, 2000
Posts: 52
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.
kanagaraj swamy
Greenhorn

Joined: Dec 18, 2000
Posts: 8
thanks David & Ranch hands
please explain Blackdown in linux.Why the speed differs while using different platform.
Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: comparison