Results 1 to 2 of 2

Thread: Jar file build

  1. #1
    indupriyav is offline Member
    Join Date
    Jul 2013
    Rep Power

    Default Jar file build

    I had an eclipse setup in Windows machine for building a .jar file which was used in Linux box. The eclipse version is 3.4.2 and jre version was jre 1.5.0-18 in that machine.

    I lost the machine and I setup the eclipse build in a new system. I used the same eclipse 3.4.2 but that new system had jre 6.

    I compared the size of the jar file of the newly built one in new system and the jar file from Linux box.

    Size in new system is 34.1 KB.Size on disk is 36 KB(36,864 bytes)

    Size in old system was 33.7 KB. Size on disk is 36 KB(36,864 bytes)

    The program worked fine when tested in Linux box.

    Why is the difference in size of .jar file. Is it due to higher version of jre 6. Will there be any issues?

    Please advice.


  2. #2
    kjkrum's Avatar
    kjkrum is offline Senior Member
    Join Date
    Apr 2011
    Tucson, AZ
    Rep Power

    Default Re: Jar file build

    Yes, it's probably due to the different JVM version. Small differences in file size between builds are nothing to be concerned about.
    Get in the habit of using standard Java naming conventions!

Similar Threads

  1. Error after build to jar file.
    By bach_meoden in forum AWT / Swing
    Replies: 13
    Last Post: 04-06-2010, 02:27 PM
  2. can someone help me compile and build a jar file
    By peahead in forum New To Java
    Replies: 2
    Last Post: 02-06-2010, 04:05 PM
  3. How to build a .car file in Vignette?
    By andrew222 in forum Advanced Java
    Replies: 4
    Last Post: 11-23-2009, 04:08 AM
  4. Sample build.xml file for EJB
    By deeparanbhor in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 04-27-2009, 01:16 PM
  5. how i can build exe file??
    By ahmed13 in forum Advanced Java
    Replies: 10
    Last Post: 02-06-2009, 07:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts