0ph1uch1 / MiraiCP-template

MiraiCP template
https://github.com/Nambers/MiraiCP
GNU Affero General Public License v3.0
12 stars 5 forks source link

jar run error #1

Closed Evilrabbit520 closed 2 years ago

Evilrabbit520 commented 2 years ago

Exception in thread "main" java.lang.UnsatisfiedLinkError,mach-o file, but is an incompatible architecture have 'arm64', need 'x86_64'.

Evilrabbit520 commented 2 years ago

Replenish:My host is a MacBook Pro Apple M1.

Nambers commented 2 years ago

Solution: Change local runtime jdk from jdk based on x86_64 to jdk based on arm64