aspose file tools*
The moose likes Linux / UNIX and the fly likes Jar size difference on Windows and Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Jar size difference on Windows and Linux" Watch "Jar size difference on Windows and Linux" New topic
Author

Jar size difference on Windows and Linux

Saritha Penumudi
Ranch Hand

Joined: Aug 18, 2003
Posts: 147
Hi all,

Thank you for reading my post. Just a small clarification.

The development enviornment of my project is windows XP and testing env is Linux.

Problem that I am facing is when I run my application on my dev box is it working perfect where as on test env it does not.
I have this feature where when user enter some data in the text box and tabs out, request is sent to server to get options in the select box.

On dev box I see this request going to server and I see results back in the drop down box. Where as in linux box I don't see this functionality working.

The code I am using to build the war file is same on both DEV and TEST however when I compare size of the war files they are different.

While back I read that the size of the war file depends on the Operating system. Is it true?

your input will be a great help to me.
Ed Ward
Ranch Hand

Joined: Jan 30, 2006
Posts: 147
I realize the question is a few days old but I'm bored.

While back I read that the size of the war file depends on the Operating system. Is it true?


Correct.
As I recall, it's the file system that causes the difference as some are more efficient than others when storing bits.
[ May 28, 2006: Message edited by: S Root ]
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

Its not so much as efficiency at storing bits. Its more of a question of tuning. You can format the filesystem in different ways. One way can give you more space, but longer load times. Another way can give you less space but quicker load times. And many variations on other things like this.

But there is a way I think to get a file size that does not change based on the disk format, but I cant recall it.
Vlado Zajac
Ranch Hand

Joined: Aug 03, 2004
Posts: 245
File size does not depend on file system. Only space used to store the file may be different.

war size depends on program used to create it (may be compressed with different efficiency) and its contents.
 
 
subject: Jar size difference on Windows and Linux