Cant run Gradle, 6.7.1 complete on M1 Mac

I’m trying to install Gradle on my M1 Mac mini and I’m getting an error just running gradle --version to test the install. Using manual install, 6.7.1 complete, OpenJDK 15 OpenJ9 Large Heap.

This is the error I get.

Should I submit this to the GitHub issues or is there a known fix for this?

Thank you.

lee@Lees-Mac-mini ~ % gradle --version
Unhandled exception
Type=Segmentation error vmState=0x00000000
J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000002
Handler1=0000000004350270 Handler2=0000000008826C80 InaccessibleAddress=0000000000000000
RDI=00007F9E9408E900 RSI=0000000000000000 RAX=0000000000000404 RBX=0000000000000000
RCX=0000000000000410 RDX=0000000000000000 R8=0000000000000000 R9=00000000002878D7
R10=00007F9E94012058 R11=000000002C237C5C R12=0000000000000000 R13=0000000000000000
R14=00007F9E9408E900 R15=0000000000000000
RIP=0000000004358D00 GS=0000 FS=0000 RSP=000000020C79F4F0
RFlags=0000000000000246 CS=002B RBP=000000020C79F590 ERR=0000000000000004
TRAPNO=000000040000000E CPU=0000000000040000 FAULTVADDR=0000000000000000
XMM0 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM1 00007f9e9415cf38 (f: 2484457216.000000, d: 6.932683e-310)
XMM2 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM3 396a6e65706f2d35 (f: 1886334208.000000, d: 4.072377e-32)
XMM4 2e396a6e65706f2d (f: 1701867264.000000, d: 5.110509e-86)
XMM5 3d687461705f656c (f: 1885300096.000000, d: 6.950419e-13)
XMM6 3fc66acd4272ad51 (f: 1114811776.000000, d: 1.751343e-01)
XMM7 4031542457337d43 (f: 1462992256.000000, d: 1.732868e+01)
XMM8 00000000438fa000 (f: 1133486080.000000, d: 5.600165e-315)
XMM9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM10 0000000000000006 (f: 6.000000, d: 2.964394e-323)
XMM11 0000000000000008 (f: 8.000000, d: 3.952525e-323)
XMM12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
Module_base_address=00000000042BE000 Symbol=_ZL18getMethodOrFieldIDP7JNIEnv_P7_jclassPKcS4_m
Target=2_90_20201024_83 (Mac OS X 10.16)
CPU=amd64 (8 logical CPUs) (0x200000000 RAM)
----------- Stack Backtrace -----------
JVMDUMP039I Processing dump event "gpf", detail "" at 2020/11/27 10:48:23 - please wait.
JVMDUMP032I JVM requested System dump using '/Users/lee/core.20201127.104823.1579.0001.dmp' in response to an event
JVMDUMP012E Error in System dump: The core file created by child process with pid = 1589 was not found. Expected to find core file with name "/cores/core.1589"
JVMDUMP032I JVM requested Java dump using '/Users/lee/javacore.20201127.104823.1579.0002.txt' in response to an event
JVMDUMP010I Java dump written to /Users/lee/javacore.20201127.104823.1579.0002.txt
JVMDUMP032I JVM requested Snap dump using '/Users/lee/Snap.20201127.104823.1579.0003.trc' in response to an event
JVMDUMP010I Snap dump written to /Users/lee/Snap.20201127.104823.1579.0003.trc
JVMDUMP032I JVM requested JIT dump using '/Users/lee/jitdump.20201127.104823.1579.0004.dmp' in response to an event
JVMDUMP010I JIT dump written to /Users/lee/jitdump.20201127.104823.1579.0004.dmp
JVMDUMP013I Processed dump event "gpf", detail "".