[ https://issues.apache.org/jira/browse/IGNITE-2895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15979639#comment-15979639 ]
Alex commented on IGNITE-2895: ------------------------------ OS detection code uses System.getProperty("os.arch"); Please look at IgniteUtils. 64-bit Windows platforms always set architecture 32-bit to all 32-bit processes in WOW64 for compatibility reasons. see MSDN: https://msdn.microsoft.com/en-us/library/aa384274(v=vs.85).aspx can use code for detection: String arch = System.getenv("PROCESSOR_ARCHITECTURE"); String wow64Arch = System.getenv("PROCESSOR_ARCHITEW6432"); String realArch = arch.endsWith("64") || wow64Arch != null && wow64Arch.endsWith("64") ? "64" : "32"; Should we use os arch in log or platform (JVM) arch is sufficient? for example Hadoop uses platform name in log: see https://github.com/apache/hadoop/blob/f67237cbe7bc48a1b9088e990800b37529f1db2a/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/util/PlatformName.java#L35 and https://github.com/apache/hadoop/blob/f67237cbe7bc48a1b9088e990800b37529f1db2a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/LightWeightGSet.java#L396 Spark uses Scala verison in log: see: https://github.com/apache/spark/blob/17ce0b5b3f6a825fc77458bc8608cece1a6019c7/repl/scala-2.10/src/main/scala/org/apache/spark/repl/SparkILoopInit.scala#L33 > OS info in console is incorrect when using x86 JRE on x64 Windows > ----------------------------------------------------------------- > > Key: IGNITE-2895 > URL: https://issues.apache.org/jira/browse/IGNITE-2895 > Project: Ignite > Issue Type: Bug > Components: general, newbie > Affects Versions: 1.1.4 > Reporter: Pavel Tupitsyn > Assignee: Rohit Mohta > Priority: Trivial > Fix For: 2.1 > > > Steps: > * Use any x64 Windows (*nix might work too) > * Use x86 JRE (by setting JAVA_HOME accordingly) > * Run any test or example, see console log: > {code} OS: Windows 8 6.2 x86{code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)