Error with maven clean install

I am trying to set up a development environment so that I can begin developing with OpenMRS. I have not edited the source code at all. I am running mvn clean install and getting this error:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:500)
        at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:512)
Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented.
        at org.jacoco.agent.rt.internal_773e439.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:139)
        at org.jacoco.agent.rt.internal_773e439.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:100)
        at org.jacoco.agent.rt.internal_773e439.PreMain.createRuntime(PreMain.java:55)
        at org.jacoco.agent.rt.internal_773e439.PreMain.premain(PreMain.java:47)
        ... 6 more
Caused by: java.lang.NoSuchFieldException: $jacocoAccess
        at java.base/java.lang.Class.getField(Class.java:1956)
        at org.jacoco.agent.rt.internal_773e439.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:137)
        ... 9 more
FATAL ERROR in native method: processing of -javaagent failed
SUREFIRE-859: /bin/sh: line 1:  4771 Abort trap: 6           /Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home/bin/java '-javaagent:/Users/whitaker/.m2/repository/org/jacoco/org.jacoco.agent/0.7.4.201502262128/org.jacoco.agent-0.7.4.201502262128-runtime.jar=destfile=/Users/whitaker/Desktop/openmrs-core/api/target/jacoco.exec,includes=org/openmrs/**' -Duser.language=en -Duser.region=US -Xmx2g -jar /Users/whitaker/Desktop/openmrs-core/api/target/surefire/surefirebooter18248985875194734571.jar /Users/whitaker/Desktop/openmrs-core/api/target/surefire/surefire17206953536256801629tmp /Users/whitaker/Desktop/openmrs-core/api/target/surefire/surefire_012077496737739470866tmp

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] OpenMRS ............................................ SUCCESS [  4.044 s]
[INFO] openmrs-tools ...................................... SUCCESS [  1.872 s]
[INFO] openmrs-test ....................................... SUCCESS [  0.124 s]
[INFO] openmrs-api ........................................ FAILURE [ 29.932 s]
[INFO] openmrs-web ........................................ SKIPPED
[INFO] openmrs-webapp ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.400 s
[INFO] Finished at: 2017-12-02T15:42:00-07:00
[INFO] Final Memory: 45M/149M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project openmrs-api: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /Users/whitaker/Desktop/openmrs-core/api && /Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home/bin/java '-javaagent:/Users/whitaker/.m2/repository/org/jacoco/org.jacoco.agent/0.7.4.201502262128/org.jacoco.agent-0.7.4.201502262128-runtime.jar=destfile=/Users/whitaker/Desktop/openmrs-core/api/target/jacoco.exec,includes=org/openmrs/**' -Duser.language=en -Duser.region=US -Xmx2g -jar /Users/whitaker/Desktop/openmrs-core/api/target/surefire/surefirebooter18248985875194734571.jar /Users/whitaker/Desktop/openmrs-core/api/target/surefire/surefire17206953536256801629tmp /Users/whitaker/Desktop/openmrs-core/api/target/surefire/surefire_012077496737739470866tmp
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :openmrs-api

Any ideas?

Whoops, looks like Java may not have installed correctly, let me try again.

That fixed it, sorry about that.