Skip to content

Commit

Permalink
Merge pull request #4873 from tptignor/java13-for-m3-mac
Browse files Browse the repository at this point in the history
Java13 install instructions for Apple silicon
  • Loading branch information
PatrickGoRaft authored Aug 27, 2024
2 parents 7861d6a + 21d0603 commit c13649f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,18 @@ Clone the repo and go into the repo directory:
git clone https://github.com/cfpb/hmda-platform.git
cd hmda-platform
```
### Apple Silicon

The current platform and specifically Cassandra have problems running on "Apple silicon" architecture. If your laptop **About This Mac** information shows an Apple M1 or later chip, this applies to you. This will cause test suites to abort.

The current solution is to install, build and run with an amd64-compatible JDK.

```
$ brew install asdf
$ arch -x86_64 asdf plugin-add java https://github.com/halcyon/asdf-java.git
$ arch -x86_64 asdf install java openjdk-13.0.2
$ export JAVA_HOME=$HOME/.asdf/installs/java/openjdk-13.0.2
```

## Running with sbt

Expand Down

0 comments on commit c13649f

Please sign in to comment.