32/64 bit JVM

B

bhushann

Hi,

I had few queries related to JVM.
1) Is it possible to run one application in 32 bit JVM and another in
64 bit JVM on the same machine? If yes, how?
2) how do we know what version of JVM is being used by java
application.

Thanks and Rgds,
Bhushan
 
F

Francesco Devittori

Hi,

I had few queries related to JVM.
1) Is it possible to run one application in 32 bit JVM and another in
64 bit JVM on the same machine? If yes, how?
2) how do we know what version of JVM is being used by java
application.

Thanks and Rgds,
Bhushan

I may be wrong, but I think the VM is the same, a 64-bit VM is just a VM
that runs on 64-bit hardware.
Your app does not care about this, in the same way that it does not care
wether the VM runs on windows, linux or something else: the "java-side"
is always the same.

Francesco
 
N

Nigel Wade

Hi,

I had few queries related to JVM.
1) Is it possible to run one application in 32 bit JVM and another in
64 bit JVM on the same machine? If yes, how?

Install both a 32bit and 64bit JVM, then run the relevant java executable for
each.
2) how do we know what version of JVM is being used by java
application.

The Sun and Blackdown JVMs provide this property:

sun.arch.data.model=32
sun.arch.data.model=64

for their 32bit/64bit JVMs. I don't know about any others.
 
B

bhushann

Hi Nigel,

Thank you for the reply. This has definately helped us.

Thanks again.

Rgds,
Bhushan
 

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,754
Messages
2,569,526
Members
44,997
Latest member
mileyka

Latest Threads

Top