• Post Reply Bookmark Topic Watch Topic
  • New Topic

64 bit java  RSS feed

 
Richard Anderson
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi gang.

How can I determine what mode (32 or 64 bit) I'm running in? I've tried
java -version but see nothing except for the actual version #. And I heard a rumor a long long time ago that even though the JRE is installed on a 64 bit machine, you still have to force Java to run in 64 bit mode by passing in an argument, otherwise, it will run in 32 by default.

Correct or incorrect? I'm using 1.4.2.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java 1.4.2 download page at Sun has a 32 bit and a 64 bit windows version. Which version do you have installed?
Bill
 
Richard Anderson
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the 64 bit version installed, but I believe by default it runs in 32 bit mode. I think you have to pass an argument into the JVM to make it run in 64 bit mode.

The argument is -d64. I discovered this after perusing several Google posts. Thanks for making this clear, Sun!
[ October 26, 2005: Message edited by: Richard Anderson ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!