Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
Check if 32 bit or 64 bit processor?
Aparna Sree
Greenhorn
Posts: 28
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is there a way to find out if the processor is 32 bit or 64 bit?
System.getProperty("os.arch") or System.getProperty("sun.arch.data.model") checks for the OS.
Similarly do we have anything specific to processor in
Java
?
Rob Spoor
Sheriff
Posts: 22783
131
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Does it matter? You can't use any 64-bit features of the processor if the OS is only 32-bit.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
Aparna Sree
Greenhorn
Posts: 28
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Ok!
I wasn't sure of the behavior of a 64 bit processor with 32 bit OS .
I have DLLs for 64 bit machine and 32 bit machine which I am supposed to execute through java. I had to check the processor version before executing.
That info helped. Thanks!
Rob Spoor
Sheriff
Posts: 22783
131
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
64-bit DLLs will not work on 32-bit Windows, even if the processor is 64-bit. So if you just use the OS architecture that will be just fine.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
sunglasses are a type of coolness prosthetic. Check out the sunglasses on this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
How to install sdk1.4 32bit on itanuim 64ia
running eclipse on Ubuntu
Apache HTTP 2.0.6.3 Server - Does it support 64bit windows.
How to check the jdk bit version (32bit or 64 bit)
32bit vs 64bit confusion
More...