32bit java app on 64bit platform

Discussion in 'Java' started by satinder.sethi@gmail.com, Nov 10, 2005.

  1. Guest

    Would there be any issues in running a java app on a 64bit linux
    platform that was initially developed on a 32 bit linux system. What
    are the factors and/or dependencies to consider. Thanks.

    Satinder
     
    , Nov 10, 2005
    #1
    1. Advertising

  2. Roedy Green Guest

    On 10 Nov 2005 07:07:20 -0800, wrote, quoted
    or indirectly quoted someone who said :

    >Would there be any issues in running a java app on a 64bit linux
    >platform that was initially developed on a 32 bit linux system. What
    >are the factors and/or dependencies to consider. Thanks.


    In theory, you should not notice any difference other than the ability
    to have more objects and more RAM. In practice there might be some
    problems with JNI.
    --
    Canadian Mind Products, Roedy Green.
    http://mindprod.com Java custom programming, consulting and coaching.
     
    Roedy Green, Nov 10, 2005
    #2
    1. Advertising

  3. Benji Guest

    , while chewing on bamboo shoots, wrote:
    > Would there be any issues in running a java app on a 64bit linux
    > platform that was initially developed on a 32 bit linux system. What
    > are the factors and/or dependencies to consider. Thanks.


    To expound on the answer already provided, absolutely none. The size of
    data types in java is already defined, and won't change based on the
    platform you're running it on.

    see
    http://java.sun.com/docs/books/tutorial/java/nutsandbolts/datatypes.html

    --
    Of making better designs there is no end,
    and much refactoring wearies the body.
     
    Benji, Nov 10, 2005
    #3
  4. NOBODY Guest

    Benji <> wrote in
    news:dl05j7$2fp$:

    > , while chewing on bamboo shoots, wrote:
    >> Would there be any issues in running a java app on a 64bit linux
    >> platform that was initially developed on a 32 bit linux system. What
    >> are the factors and/or dependencies to consider. Thanks.

    >
    > To expound on the answer already provided, absolutely none. The size
    > of data types in java is already defined, and won't change based on
    > the platform you're running it on.


    That is partially true only:
    The java type won't change, true, but the space they take in ram may.
    The jvm may have a different padding strategy to align it object
    structure in ram, just like it did for 32 bits platform. When an object
    (8 bytes) as a boolean (1 byte), it may take more than 9 bytes of ram in
    reality (maybe 12 on 32 bits, maybe 16 on 64 bits). JVM dependant.



    > see
    > http://java.sun.com/docs/books/tutorial/java/nutsandbolts/datatypes.htm
    > l
    >
     
    NOBODY, Nov 12, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Peter Hartmann

    32bit install on 64bit system

    Peter Hartmann, Sep 15, 2005, in forum: Python
    Replies:
    1
    Views:
    401
    Christophe
    Sep 15, 2005
  2. Alexander Schmolck
    Replies:
    2
    Views:
    367
    David Rushby
    Jan 28, 2006
  3. Replies:
    6
    Views:
    442
    Fredrik Lundh
    Jul 16, 2008
  4. porting 32bit app to 64bit

    , Nov 1, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    566
    bruce barker
    Nov 1, 2008
  5. Gianni Galore
    Replies:
    1
    Views:
    956
Loading...

Share This Page