Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > 32bit java app on 64bit platform

Reply
Thread Tools

32bit java app on 64bit platform

 
 
satinder.sethi@gmail.com
Guest
Posts: n/a
 
      11-10-2005
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

 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      11-10-2005
On 10 Nov 2005 07:07:20 -0800, http://www.velocityreviews.com/forums/(E-Mail Removed) 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.
 
Reply With Quote
 
 
 
 
Benji
Guest
Posts: n/a
 
      11-10-2005
(E-Mail Removed), 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/tutor...datatypes.html

--
Of making better designs there is no end,
and much refactoring wearies the body.
 
Reply With Quote
 
NOBODY
Guest
Posts: n/a
 
      11-12-2005
Benji <(E-Mail Removed)> wrote in
news:dl05j7$2fp$(E-Mail Removed):

> (E-Mail Removed), 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/tutor.../datatypes.htm
> l
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advantage of 64bit Java vs 32bit ? Performance? Gianni Galore Java 1 12-23-2010 12:32 AM
Name your fave Win app written in the last 11 years for which there IS NO cheaper or free alternative which will run on 9x-6.1, like any good 32bit app should. thanatoid Computer Support 59 10-02-2010 05:48 PM
porting 32bit app to 64bit viren.chaudhary2008@gmail.com ASP .Net 1 11-01-2008 08:18 PM
How to figure out if the platform is 32bit or 64bit? kjhishere@gmail.com Python 6 07-16-2008 02:07 PM
32bit ISAPI not running on 64bit platform Z-Dev Windows 64bit 2 01-21-2007 08:46 PM



Advertisments