- Java 20+:
javac
, andjar
- The Java Native Access JAR downloaded and its path added to your
$CLASSPATH
environment variable.
- Defaults aren't supported in Java so uniffi struct, method, and function defaults don't exist in the Java code. Note: a reasonable case could be made for supporting defaults on structs by way of generated builder patterns. PRs welcome.
We pull down the pinned examples directly from Uniffi and run Java tests using the generated bindings. Just run cargo t
to run all of them.