joLink: an open-source tool that makes AI run and debug Java code like a human developer
A Java backend developer describes two rounds of AI-assisted coding: about a month of intensive Cursor use starting around November last year, which he abandoned over hallucinations[1] and broken brackets, then Copilot around April this year, which impressed him enough that he gradually moved most of his development work to AI. Over months of use he identified a core weakness: the AI infers results from reading code and almost never runs it, at most writing unit tests for some scenarios. As a result, the actual run may not match expectations — sometimes the code does not even compile once requirements get more complex — and when debugging, the model fixates on a noisy code section that is not actually where the problem is.
To address this, he started building joLink in early July: after about four months, the tool is written in Python, with MCP[2] providing execution capabilities, a Skill telling the agent how to use them, and global rules that require working through practice — writing simply and directly instead of solving everything upfront, and getting evidence from actual runs rather than waiting for the user to request verification. Most of the code was written by GPT, while the author handled project management, technology choices and acceptance. The hardest part was startup, because Java projects compile to bytecode, and incremental compilation[3] — compiling only changed code and the code it affects, as IntelliJ IDEA does — took more than two months of experiments before he implemented it with the Eclipse JDT[4] package. Without it, every change would force a full Maven build, and in his view incremental compilation is essential for the loop of write code, start the project, verify, fix and start again.
Dogfooding joLink in his own work, he says coding agents now deliver code he rarely needs to read, though professional testing is still required before release because the tool only covers the development stage. It is confirmed to run most Spring Boot projects built with Maven or Gradle on JDK8 through JDK17, but it may not be stable and is still at an early stage. He plans to keep probing it against open-source Java projects on GitHub to expand its boundaries and asks readers to try it and report if it does not help; the repository is https://github.com/L1ch404/jolink-runtime.
Sources
-
CNV2EX ZH
我写了一个开源工具,想让 AI 像 Java 开发一样工作


