Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/content/docs/paper/dev/getting-started/userdev.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,22 @@ You should remove any dependency on the Paper API, as the dev bundle includes th

:::

:::note[Running userdev with a newer JDK]

A dev bundle might not support the JDK version Gradle is configured to use.
If you are getting an error during the execution of `paperweightUserdevSetup`, you can try
setting paperweight's `javaLauncher` property to a different Java version.

```kts title="build.gradle.kts"
paperweight {
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(21)
}
}
```

:::

## Gradle tasks

### `reobfJar`
Expand Down