Skip to content

Commit

Permalink
docs: add a link to class file version table (#2779)
Browse files Browse the repository at this point in the history
  • Loading branch information
itzg authored Apr 14, 2024
1 parent 5b920cc commit 7dce58b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-multiarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- "*.md"
- "docs/**"
- "examples/**"
- "notes/**"

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/verify-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- "*.md"
- "docs/**"
- "examples/**"
- "notes/**"
- "docker-compose*.yml"
- "mkdocs.yml"

Expand Down
4 changes: 4 additions & 0 deletions docs/versions/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ where `<tag>` refers to the first column of this table:

The "latest" tag shifts to include not only the latest features and bug fixes, but also the latest Java version that Mojang requires for the latest Minecraft version.

!!! tip "Class File Version"

If the Minecraft startup is logging an error about a "class file version", then refer [to this table](https://javaalmanac.io/bytecode/versions/) to identify the JDK/Java version corresponding to each class file version.

### Release versions

Since the tags referenced above will shift as the newest image build brings in new features and bug fixes, released variants of those can also be used to pin a specific build of the image.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7dce58b

Please sign in to comment.