View Single Post
  #9 (permalink)  
Old 06-22-2008, 06:13 AM
fishtoprecords's Avatar
fishtoprecords fishtoprecords is offline
Senior Member
 
Join Date: Jun 2008
Posts: 475
fishtoprecords is on a distinguished road
You could always exec to some shell/os command and parse it.

But I know of no way to tell if you are running on a 64 bit processor that happens to be running a 32 bit OS. And these days, it is safe to assume that most 64 bit AMD/Intel processors are running a 32 bit OS.

More importantly, isn't the point of Java to make hardware implementation details unimportant?
Reply With Quote