Use JDK tools for compilation, documentation, module analysis, runtime images, or application packaging.
Ships in jvm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Guide tasks that depend on official JDK command-line tools and packaging flows. Use standard JDK tools without adding task-specific wrappers. Keep the repository's existing native build and test tasks when they already produce the requested deliverable.
Treat JDK 8, 11, 17, 21, and 25 as the supported LTS reference line for this skill, and call out when a tool or packaging behavior changes across those releases.
Do not describe the full tooling surface as uniformly available across that whole line.
In this skill's framing, javac, java, javadoc, and jdeps span the supported LTS line, jshell and jlink are JDK 9+ workflows, and jpackage is standard from JDK 16.
JDK 14-15 shipped jpackage as an incubating tool (jdk.incubator.jpackage), so treat that era as a caveat rather than the normal production baseline.
Choose the tool for the requested deliverable rather than running the whole toolchain.
Use the tool index for availability and output interpretation.
Use modules and packaging for module graphs, runtime images, or native packages.
Use jdeps before jlink when module requirements are unknown.
Resolve launcher and runtime-image requirements before packaging.
Confirm the local JDK toolchain first. On JDK 9 or later, use:
java --version
javac --version
On JDK 8, use java -version and javac -version because --version is unavailable there.
For module-aware slimming or packaging, also confirm the input artifact you will analyze or package exists before invoking jdeps, jlink, or jpackage.
Tool availability baseline:
javac, java, javadoc, jdeps: available across the supported LTS line used by this pluginjshell, jlink: JDK 9+jpackage: standard from JDK 16.
Confirm the target JDK version before recommending jshell, jlink, or jpackage.
Compile and run a single class directly:
javac -d out src/main/java/com/example/demo/App.java
java -cp out com.example.demo.App
Use when: you need the smallest direct JDK path before bringing in Maven or Gradle.
Start a jshell session against compiled classes:
jshell --class-path out
Use when: you want to probe APIs, evaluate expressions, or validate a small runtime behavior before writing a fuller harness.
Version note: jshell is not part of JDK 8.
Use this path only on JDK 9 and later.
Use tool workflow templates when preparing module inspection, repeatable JShell, runtime images, native packages, or Javadoc.
Use the smallest validation that matches the chosen deliverable. Run only the relevant checks below and report the command, result, and any unverified launch behavior.
javac, confirm the class output exists and java -cp starts successfully.jshell, confirm the target classes are loadable from --class-path and the first expression evaluates successfully.jdeps, confirm the reported modules match the application expectations.jlink, check the image runtime and exercise its application entry point when launchability is part of the deliverable.jpackage, verify the generated app image or installer exists for the target platform.Use output shapes when interpreting compiler, runtime, module, image, JShell, or Javadoc output.
jdeps before jlink when module boundaries are unclear.jpackage only after the launcher and runtime-image strategy is settled.| Anti-pattern | Why it fails | Correct move |
|---|---|---|
| treating every listed tool as available on every supported LTS release | users on JDK 8 or JDK 11 can be sent to tools that do not exist there | state the version gate first: jshell/jlink on JDK 9+, standard jpackage on JDK 16+ with JDK 14-15 incubator caveat |
starting jshell without the real class path | the REPL cannot load the project classes you actually want to inspect | build or point at the compiled output first, then launch jshell --class-path ... |
starting with jpackage | packaging too early hides runtime and module problems | inspect with jdeps first, then build the runtime/image chain |
using jlink without explicit module knowledge | the image can miss required modules or stay larger than necessary | run jdeps --print-module-deps first |
| adding a custom wrapper before using existing tools | duplicates the native toolchain | use existing build tasks or direct JDK tools |
| ignoring target-platform packaging limits | native packages are platform-specific | call out platform scope before recommending jpackage |
javac, java, jshell, jdeps, jlink, and jpackageWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
3 skills in this plugin
/jvm:jvm-tooling-workflowsfrom jvm
npx claudepluginhub ririnto/sinon --plugin jvm