This guide helps Windows users successfully build and run Apache Wayang.
Many users encounter issues related to Hadoop, winutils, and environment variables.
Follow these steps carefully.
Download and install:
After installation verify: java -version
Download:
https://maven.apache.org/download.cgi
Extract and add Maven /bin to your System PATH.
Verify: mvn -version
Wayang requires Hadoop utilities on Windows.
Download from:
https://github.com/steveloughran/winutils
Choose a version matching Hadoop 3.x.
Create directory: C:\hadoop\bin
Place: winutils.exe
inside bin.
Open:
System Properties → Environment Variables
C:\hadoop
C:\hadoop\bin
Restart terminal after saving.
Run: winutils.exe ls
If no error appears → setup is correct.
From project root: ./mvnw clean install -DskipTests
Ensure:
• file exists in C:\hadoop\bin
• PATH includes the bin folder
Verify environment variable.
Run terminal as Administrator.
• Windows support requires winutils.
• WSL (Windows Subsystem for Linux) can be used as an alternative.
You are now ready to run Apache Wayang on Windows.
While building Wayang on Windows, Maven may fail due to a missing Hadoop dependency.
Error example: Execution prerequisite-check failed: could not access constructor...
This happens because Wayang expects the file:
C:\hadoop\bin\winutils.exe
Fix:
- Create folder C:\hadoop
- Inside create folder bin
- Inside bin create an empty file called winutils.exe
After this run:
mvn clean install -DskipTests
The build should work correctly.