Listen:
We release Apache Wayang v0.6.0 in the next days, and during the release testing I was wondering if we get wayang on M1 (ARM) running. And yes, a few small changes - voila!
Install maven, scala, sqlite and groovy:
brew install maven scala groovy sqlite
Download openJDK 8 for M1:
https://www.azul.com/downloads/?version=java-8-lts&os=macos&architecture=arm-64-bit&package=jdk and install the pkg.
mvn clean install
Ready to go:
After the build is done the binaries are located in mavens home:
~/.m2/repository/org/apache/wayang
Install maven, scala, sqlite and groovy:
brew install maven scala groovy sqlite
Download openJDK 8 for M1:
https://www.azul.com/downloads/?version=java-8-lts&os=macos&architecture=arm-64-bit&package=jdk and install the pkg.
Get Apache Wayang either from https://dist.apache.org/repos/dist/dev/wayang/, or git-clone directly:
git clone https://github.com/apache/incubator-wayang.git
Start the build process:
cd incubator-wayang
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home
mvn clean install
[INFO] Reactor Summary for Apache Wayang 0.6.0-SNAPSHOT:
...
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:24 min
~/.m2/repository/org/apache/wayang
Edit: After we pushed https://github.com/apache/incubator-wayang/commit/b8afb0c8c32f1bd6bd9b9f29416a697826be4f79#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8 Apache Wayang works with JDK11 and Windows! Woot!
Comments
Post a Comment