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 / January 2006

Tip: Looking for answers? Try searching our database.

32/64 bit JVM

Thread view: 
bhushann@gmail.com - 17 Jan 2006 09:50 GMT
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
Francesco Devittori - 17 Jan 2006 12:43 GMT
> Hi,
>
[quoted text clipped - 6 lines]
> 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
Nigel Wade - 17 Jan 2006 14:20 GMT
> 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.

Signature

Nigel Wade, System Administrator, Space Plasma Physics Group,
           University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@ion.le.ac.uk
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555

bhushann@gmail.com - 23 Jan 2006 09:51 GMT
Hi Nigel,

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

Thanks again.

Rgds,
Bhushan

> > Hi,
> >
[quoted text clipped - 20 lines]
> E-mail :    nmw@ion.le.ac.uk
> Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555


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



©2008 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.