Menu

1 / 5

Give your AI coding agent an IDE for Java and Kotlin jars (with jdx)

DEV Community: java·Mohammad Mostafa Dastjerdi·about 10 hours ago
#oqIlg44J
#devtojava#devto#dev#get#tojson
Reading 0:00
15s threshold

AI coding agents are good at writing JVM code. Reading it is another story.

Ask an agent what a method in one of your dependencies does and watch the transcript: it unzips the jar, runs javap , greps the output, and then reads an entire source file into its context window. javap gives it erased signatures and raw opcodes, so it fills the gaps by guessing.

In this tutorial we'll give the agent the answers an IDE gives a human, using jdx , an open-source CLI and MCP server I built for exactly this. Every output below comes from the jdx quickstart , which is generated by actually running the commands.

What you need

A Java 21+ runtime (Linux, macOS or Windows)

An MCP-capable agent if you want the integration step (Claude Code, Cursor, Codex CLI, GitHub Copilot CLI, OpenCode, Cline, Kilo Code, Antigravity, or anything else that speaks MCP)

1.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.