32bit java app on 64bit platform

S

satinder.sethi

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
 
R

Roedy Green

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.
 
N

NOBODY

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top