Skip to content

Can't run java command in codex #10000

@chouzz

Description

@chouzz

What version of Codex is running?

0.91.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.2-codex

What platform is your computer?

Darwin 24.6.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

iTerm2

What issue are you seeing?

Can't run java command in codex.

Java is a very common command, don't understand why it can't find java.

Image

What steps can reproduce the bug?

  • Open codex
  • ask it run java --version
  • Can't find java command

What is the expected behavior?

It should find the java command.

Additional information

❯ which java
/opt/homebrew/opt/openjdk@21/bin/java

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingsandboxIssues related to permissions or sandboxing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions