Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6378452

os.arch returns amd64 for Intel processor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 5.0
    • core-libs

      FULL PRODUCT VERSION :
      java version "1.5.0_06"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
      Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_06-b05, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Linux bawson 2.6.13-15.7-smp #1 SMP Tue Nov 29 14:32:29 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Linux version = Suse 10

      A DESCRIPTION OF THE PROBLEM :
      Having recently moved from the 32bit to the 64bit JDK I've noticed the value of the os.arch system property is now "amd64" whereas before it was "i386".


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      import java.util.Properties;

      public class Arch
      {
              public static void main(String[] args)
              {
                     System.out.println(System.getProperties().getProperty("os.arch"));
              }
      }



      REPRODUCIBILITY :
      This bug can be reproduced always.

            psoper Pete Soper (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: