# `mix portals_java.jar`
[🔗](https://github.com/Ziinc/portals/blob/v0.1.0/packages/portals_java/lib/mix/tasks/portals_java.jar.ex#L1)

Compiles the Java SDK sources in `priv/java/src` with `javac --release 17`
and packages them as `priv/java/portals.jar`.

The jar ships prebuilt inside the Hex package (publishing runs this task
first), so applications never need it. It exists for working on
`portals_java` itself, where the jar is a build artifact.

    mix portals_java.jar

---

*Consult [api-reference.md](api-reference.md) for complete listing*
