boot

thomas 2023-08-17T10:04:15.434899Z

Hi, I seem to have problems running boot on a MacOs M1.

(fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64'))

thomas 2023-08-17T10:04:27.834079Z

any ideas on what I need to do?

thomas 2023-08-17T10:05:21.198929Z

It suggest that I have a x86(64) jvm running

thomas 2023-08-17T10:05:59.463759Z

ava --version
openjdk 11.0.20 2023-07-18
OpenJDK Runtime Environment Homebrew (build 11.0.20+0)
OpenJDK 64-Bit Server VM Homebrew (build 11.0.20+0, mixed mode)

thomas 2023-08-17T10:06:05.776019Z

but how do I tell?

thomas 2023-08-17T10:10:27.814539Z

/opt/homebrew/opt/openjdk@11/bin/java: Mach-O 64-bit executable arm64

thomas 2023-08-17T10:10:29.938399Z

looks ok

oyakushev 2023-08-17T11:22:49.827959Z

That binary that you filed could be a proxy binary that finds and invokes the correct Java binary later

oyakushev 2023-08-17T11:23:18.245809Z

Paste the output of /usr/libexec/java_home -V

thomas 2023-08-17T13:39:37.348289Z

Matching Java Virtual Machines (2):
    20.0.1 (arm64) "Homebrew" - "OpenJDK 20.0.1" /opt/homebrew/Cellar/openjdk/20.0.1/libexec/openjdk.jdk/Contents/Home
    13.0.12 (x86_64) "Azul Systems, Inc." - "Zulu 13.50.15" /Users/thomas/Library/Java/JavaVirtualMachines/azul-13.0.12/Contents/Home
/opt/homebrew/Cellar/openjdk/20.0.1/libexec/openjdk.jdk/Contents/Home

thomas 2023-08-17T13:39:52.497829Z

maybe that second one is the problem.

thomas 2023-08-17T13:40:09.936159Z

didn't even know I had java 20 on here.

oyakushev 2023-08-17T13:40:17.743329Z

But java -version says you rub 11.0.20, weird

oyakushev 2023-08-17T13:40:23.716529Z

It's not on the list

thomas 2023-08-17T13:40:37.095439Z

yeah

thomas 2023-08-17T13:42:36.706539Z

Installed sdkman earlier today... maybe I should give that a try