Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

32bit java app on 64bit platform

Thread view: 
satinder.sethi@gmail.com - 10 Nov 2005 15:07 GMT
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
Roedy Green - 10 Nov 2005 15:21 GMT
>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.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Benji - 10 Nov 2005 19:04 GMT
> 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

Signature

Of making better designs there is no end,
 and much refactoring wearies the body.

NOBODY - 12 Nov 2005 02:23 GMT
>> 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
[quoted text clipped - 3 lines]
> 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.