Can somebody briefly explain why outputs of System.getProperty("os.arch")
in java and result of the command uname -u
in terminal show me different results? As I understand i386 stands for 32 bit architecture, and x86_64 for 64 bit. I'm totally confused by that...
Asked
Active
Viewed 28 times
0

Giorgi Kvitsiani
- 1
- 1
-
4You might have 32 bit Java installed on a 64 bit system. – Eugen Rieck Mar 17 '20 at 11:25
-
`os.arch` is the bitness / architecture the JRE was compiled for, not the kernel of the system that it's running on. – Peter Cordes Mar 17 '20 at 22:11