Confusing message about missing Java runtime in TypeScript project

Resolved 💬 5 comments Opened Oct 26, 2025 by hboon Closed Jan 10, 2026

What version of Codex is running?

codex-cli 0.50.0

What subscription do you have?

Plus

Which model were you using?

got-5-codex

What platform is your computer?

Darwin 25.0.0 arm64 arm

What issue are you seeing?

If I do (more often Codex tends to do it itself):

In backend/ run `pnpm run lint`

I get:

• Ran pnpm run lint
 └ The operation couldn’t be completed. Unable to locate a Java Runtime.
 Please visit http://www.java.com for information on installing Java.
 … +2593 lines

  ELIFECYCLE  Command failed with exit code 1.

I suspect it's because lint runs @biomejs/biome for me and it runs non-zero if there are warnings/errors. But this has nothing to do with Java or JVMs and the error is confusing.

What steps can reproduce the bug?

As above

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗