API call to get processor architecture

Actually, you can get the architecture without the need for reflexion at all:

String arch = System.getProperty("os.arch");

From my tests it returned armv71 and i686.

EDIT:

On MIPS architecture, it either returns ‘mips’ or ‘mips64’

On 64 bit ARM/Intel, it returns ‘aarch64’ or ‘x86_64’ respectively.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)