> For the complete documentation index, see [llms.txt](https://help.codegrade.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.codegrade.com/automatic-grading-guides/java.md).

# Java

### Create your first autograded Java assignment

{% content-ref url="/pages/3SWN5XkkYLx5GarvlxWh" %}
[Create your first Java assignment](/automatic-grading-guides/java/create-your-first-java-assignment.md)
{% endcontent-ref %}

### Advanced grading options for Java assignments

{% content-ref url="/pages/ShkUZHTEvqf8R1vCFGBI" %}
[Grading with JUnit5 and Checkstyle](/automatic-grading-guides/java/grading-with-junit5-and-checkstyle.md)
{% endcontent-ref %}

{% content-ref url="/pages/U9C3dpTPVQzNitCbtHAN" %}
[Grading with Maven](/automatic-grading-guides/java/grading-with-maven.md)
{% endcontent-ref %}

{% content-ref url="/pages/2mNiVzRQHRZgP1XZ5QNp" %}
[Grading Java package projects](/automatic-grading-guides/java/grading-java-package-projects.md)
{% endcontent-ref %}

{% content-ref url="/pages/OAAFhJE0fI7c7Xou7ukP" %}
[Grading test coverage with JaCoCo](/automatic-grading-guides/java/grading-test-coverage-with-jacoco.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.codegrade.com/automatic-grading-guides/java.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
