A
Anabolik
How to know if the operation system is 32-bit or 64-bit using java?
Anabolik said:How to know if the operation system is 32-bit or 64-bit using java?
How to know if the operation system is 32-bit or 64-bit using java?
see http://mindprod.com/jgloss/wassup.html
http://mindprod.com/jgloss/properties.html
sun.arch.data.model = 32
Roedy said:see http://mindprod.com/jgloss/wassup.html
http://mindprod.com/jgloss/properties.html
sun.arch.data.model = 32
Eric said:What do you mean by "32-bit or 64-bit?"
Better yet, take a step back and look at the wider issue:
What problem are you trying to solve, what decision are you
trying to make?
Imagine a method
public static int getOSBitness() {
// ... TBD ...
return bits;
}
... in some class, and we imagine that you can call it and
get a result of 32 or 64 (or maybe something else). What
will your code do differently depending on the result?
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.