I recently watched the GPT-5 demo and found it frustrating that the AI centers around using Python and JavaScript when it enters reasoning mode by launching a mini Linux instance. It would be a game changer if AIs like GPTs, Gemini, and Claude could compile and run Java code, analyze it, and improve upon it. Has anyone found a way to modify a ChatGPT agent to install a JDK, for example?
4 Answers
I'm not quite sure what you're getting at. A lot of IDE agents can already handle tasks like compilation and testing for you. They trigger these processes from within the IDE or CLI, so it's not all that complicated!
It sounds like you're implying that these LLMs can actually run code, but that's not really the case. They provide code to an agent, which then handles the actual execution. Setting up those features is easy with a decent agent framework, especially if you check out MCP and function calling.
To clarify on your Java question, if you're looking to sum two decimal numbers in an Apache IDE, that can be done quite easily within the console! You just need to write a little code to handle the inputs and perform the addition.
Have you looked into using Codex? There's the Codex CLI and the online version that can help you with Java tasks.
Absolutely! Just remember to use the proper data types for decimals, or it might not work as you expect.