# Java build The IDE's own build of Maven and Gradle modules (`ide_build::jbuild`). The jar holds two parts: - `ai.openidea.javac.Server` (`src/`): a resident javac. OpenIDEA starts one per JDK (and `.mvn/jvm.config`) as `java -cp openidea-java-build.jar ai.openidea.javac.Server` and keeps it running between builds. It reads one JSON request per line on stdin and answers on stdout: | Request | Meaning | | ------------------------------------------------------------------------ | ----------------------------------------------- | | `{"id":1,"op":"compile","options":[…],"sources":[…],"encoding":"UTF-8"}` | Compile with javac (`ToolProvider`), in process | | `{"op":"cancel","id":1}` | Stop that compilation at javac's next phase | | `{"op":"exit"}` | Finish the queued requests, then exit | Replies carry the request's `id`: `diagnostic` (1-based line, 0-based UTF-16 column), `output` (a class file and the source it came from), `generated` (a source an annotation processor wrote), `output-text`, then `done`. `ready` and `fatal` concern the server. - `ai.openidea.javac.maven.BuildModel` (`maven/`): a Maven core extension, loaded with `-Dmaven.ext.class.path`. With `-Dopenidea.build.output=