Note: This library is still unstable. Breaking changes will happen. You may run into SEGFAULTs, please report them.
- Client + Server bindings
- Core Wayland necessities like shared memory management are abstracted away
- Generate extensions bindings (Java and C code) with one command
- Python 3.10 (not tested with older versions)
- Java Development Kit
- GCC (or compatible C compiler)
- GNU Make
- Apache ant
- Wayland
The releases provide you pre-scanned and compiled versions of the library.
The extensions are from the most recent release of wayland-protocols.
In the case that multiple versions of an extension are in conflict with each other, the most stable option is chosen.
- Copy the required protocol xml files (including the core
wayland.xml
!) toprotocols/
- Run
make scan
to generate all of the protocol-specific code - Run
make
to compile the library - Add
jwayland.jar
andjwayland_native.jar
to your classpath