Skip to content
This repository was archived by the owner on Jan 20, 2024. It is now read-only.
This repository was archived by the owner on Jan 20, 2024. It is now read-only.

JRE and Mac Apple M1 Pro chip issue #44

@agorina

Description

@agorina

Is there a way to use the locally installed java version?

I am running into the following issue on a new mac with Apple M1 Pro chip:

migration file prepared [/var/folders/45/b24rvzmd4r565431hnvxm6dr0000gn/T/migrate-LGdGWr/config.json]
DOWNLOADING https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/maven-metadata.xml
DOWNLOADING https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/9.15.1/flyway-commandline-9.15.1-macosx-x64.tar.gz
/Users/allagorina/Development/faro-core-service/node_modules/node-flywaydb/jlib/flyway-commandline-9.15.1/flyway-9.15.1/flyway: line 51: /Users/allagorina/Development/faro-core-service/node_modules/node-flywaydb/jlib/flyway-commandline-9.15.1/flyway-9.15.1/jre/bin/java: Bad CPU type in executable

When I delete the jre folder referenced above it starts using my local version of Java and works. Until it downloads it again.

Looks like this is already a PR with the solution: #43

Anyway it could be merged?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions