The default JDK is little-endian

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/quantum7/article/details/102742982

Today ARM compiler of OPENJDK, downloaded a version of Big Endian:

https://github.com/vascokk/openjdk8-aarch64_be

 

Compile an error as follows:

checking for target address size... 64 bits
checking whether byte ordering is bigendian... no
configure: error: The tested endian in the target (little) differs from the endian expected to be found in the target (big)
configure exiting with result code 1

Thus, the default should be little endian

Guess you like

Origin blog.csdn.net/quantum7/article/details/102742982