Apple provide Rosetta which could run x86_64 application[1]. Some benchmark on Apple M1 report it has decent performance[2], so why bother re-write Keyhunt code on java? IMO it's more practical to find way to compile Keyhunt on Mac environment instead.