Codex APP(windows)can not open jetbrains IDEA
Open 💬 24 comments Opened Mar 8, 2026 by DINGYURS
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.305.950.0
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
There are multiple ways to open external IDEs in the Codex APP, but the icons for IntelliJ IDEA and PyCharm cannot be displayed properly. Additionally, opening IntelliJ IDEA through the Codex APP will result in an error prompt.
<img width="121" height="181" alt="Image" src="https://github.com/user-attachments/assets/9c9873d8-a629-45e2-a3a2-aebb78dc0168" />
<img width="692" height="464" alt="Image" src="https://github.com/user-attachments/assets/5e9739bb-b79e-4955-994d-9703da101b8a" />
What steps can reproduce the bug?
Open any project in the Codex app, then click "Open with" in the upper right corner to reproduce the issue
What is the expected behavior?
_No response_
Additional information
_No response_
24 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I encountered the same issue, but my error message is different from yours.
<img width="958" height="489" alt="Image" src="https://github.com/user-attachments/assets/f3822955-7e12-410f-b641-6932f2947ac9" />
Now it will jump to the sidebar.
I just tried it, the latest version of codex on Windows has no new optimizations
Did you just update? On Windows, it now jumps to the sidebar of the Codex app page, even with the latest version. However, on Mac, it cannot jump to JetBrains IDEA, which worked fine before the update.
I just went to the Microsoft Store to check the Codex version to ensure it's up to date, but the IDEA icon still isn't displaying properly
<img width="376" height="487" alt="Image" src="https://github.com/user-attachments/assets/a4617bc3-f54d-4e55-876b-08023eb057b7" />
<img width="1064" height="351" alt="Image" src="https://github.com/user-attachments/assets/3b0b40c6-1364-4d38-b4de-f6fce0462ed1" />
yes,Now both Mac and Windows just stay here.
Yes, many people have raised this issue, but the official Codex team doesn't fix it.😅
I can reproduce what looks like the same underlying issue on Windows, and I have some additional findings that may help narrow it down.
What I observed:
Important details:
Logon Session = n/a.This makes me suspect the problem is not just “JetBrains cannot open”, but specifically a Windows compatibility issue between:
1 Codex App’s sandbox context
2 JetBrains’ single-instance activation IPC path under the default runtime
Yes, I found it might be a compatibility issue with Windows, not related to the JDK version. I'm using JDK 21, but the problem still exists. However, my friend's Codex APP on Windows can display the IDEA icon normally. But the Antigravity icon still cannot display properly.
also experiencing this bug
I also encountered the same bug, unable to open JetBrains IDE. Please make sure the official team fixes it
Same with JetBrains IDEs
Same with Android Studio
Antigravity has the same issue
Adding a more detailed Windows/IntelliJ reproduction and the fix/workaround that made it reliable locally.
Environment
OpenAI.Codex_26.519.2736.0_x64__2p2nqsd0c76g0Codex.exe:26.519.2213610.0.26200x64C:\Users\<user>\AppData\Local\Programs\IntelliJ IDEA\bin\idea64.exe25.0.2+1-b329.117 amd64Repro
Open with > IntelliJ IDEA.idea64.exeprocess is launched with the file path argument instead of reliably activating the already-running IDE instance.The issue also affects the
Open withicon: when the Windows handler points at a shim or non-standard launcher, Codex can show a generic executable icon instead of the real IntelliJ IDEA icon.Local instrumentation
I put a small
idea64.exeshim first on PATH and let Codex discover/use it. The shim logged that Codex really was invoking the opener from the Codex process:When that shim simply delegated to the real IDEA launcher, the bug still reproduced: a child process like this was created and then failed with the
DirectoryLock$CannotActivateExceptionabove:When the shim instead opened the file through the already-running IDE/index bridge, the same Codex
Open with > IntelliJ IDEAaction succeeded and did not spawn a second IDEA process:That points to the core problem: the current Codex Windows
Open withflow is relying on a generic Windows app association / launcher path that is not a reliable "open this file in the already-running JetBrains IDE" integration.What Codex could fix
Recommended Codex-side fix:
Open with, for file links. For example:{file},{line},{column}, and optionally{workspace}placeholders instead of relying on one opaque shell/file association handoff.What JetBrains may need to fix
JetBrains may also have a launcher activation bug here:
idea64.exe <file>should either open the file in the already-running instance or fail gracefully. Instead, on this Windows/JBR combination the activation path hitsDirectoryLock$CannotActivateExceptionwith suppressed Unix domain socketbind/connectInvalid argumenterrors.Even if JetBrains fixes that, Codex would still benefit from a first-class external editor command/template because Windows app associations are too indirect for reliably opening file+line targets in already-running IDEs.
For anyone looking for an easy workaroud, I noticed that Codex now has an "Open in Default App" option. I'm not sure how long it's been there, I don't remember it being there last time I tried this.
If you associate the file type you're trying to open with whatever JetBrains IDE you're using, this actually works and opens the file almost instantly.
How is this issue of seeking help being resolved? Has Codex abandoned the rider?
I am not a Java developer, so my conclusions may not be perfectly accurate, but based on my testing it looks like there may be an issue in JetBrainsRuntime related to opening file links on Windows from Codex.
I originally noticed this problem in Codex, but I have also seen similar behavior in other applications when trying to open a specific file using any JetBrains IDE.
The issue happens with different JetBrains IDEs:
The exact IDE does not seem to matter. The error remains the same.
What I tested
Oracle JDK:
jdk-25.0.3jdk-21.0.11From:
JetBrainsRuntime:
jbr_jcef-25.0.3-windows-x64-b496.62jbr_jcef-21.0.11-windows-x64-b1163.116From the official JetBrainsRuntime releases:
``
text
``C:\Program Files\Java
``
text
``C:\Users\iliya\AppData\Roaming\JetBrains\WebStorm2026.1\webstorm64.exe.jdk
This forces WebStorm to use a specific JDK/JBR.
The file contains only the path to the runtime, for example:
``
text
``C:\Program Files\Java\jdk-25.0.3
After that, I checked:
``
text
``Help > About
to confirm that WebStorm was actually using the JDK/JBR specified in
webstorm64.exe.jdk.``
text
``C:\Program Files\Java\jdk-25.0.3
I went to Codex and clicked
Open With, or simplyOpenwhen Codex was configured with:``
text
``Settings > Default open destination = WebStorm
In this case everything worked correctly. The file opened in WebStorm and there was no error.
``
text
``C:\Users\iliya\AppData\Roaming\JetBrains\WebStorm2026.1\webstorm64.exe.jdk
to one of the JetBrainsRuntime builds, for example:
``
text
``C:\Program Files\Java\jbr_jcef-21.0.11-windows-x64-b1163.116
or:
``
text
``C:\Program Files\Java\jbr_jcef-25.0.3-windows-x64-b496.62
``
text
``Help > About
that the runtime had changed.
Result
With Oracle JDK:
or:
opening files from Codex works correctly.
With JetBrainsRuntime:
or:
the issue appears again.
Important note
This is not a real workaround or solution, because running a JetBrains IDE with a regular Oracle JDK is not ideal. For example, the IDE opens with a visible window frame, and the fonts also looked different to me.
However, I think this is a strong indication that the problem may be related to JetBrainsRuntime specifically, rather than Codex or the JetBrains IDE itself.
+1
Same issue happened in Pycharm and Rider
Perhaps you're right; this isn't entirely Codex's fault, as my friend's Windows computer can still launch JetBrains series software normally through Codex
I found a workaround that works for me on Windows 11 Pro with Rider 2025.3 and Codex Desktop.
Symptom:
rider64.exe is still running and does not respond.What did not fix it:
rider64.exeearlier onPATH. Codex still resolved the real JetBrains install path.webstorm64.exedid make Codex call my wrapper, but if that wrapper directly launched the real Rider process, Rider still showed the same popup.What finally worked:
WebStorm.webstorm64.exeearlier onPATH, for example under%LOCALAPPDATA%\Microsoft\WindowsAppsor%USERPROFILE%\.local\bin.webstorm64.exeonly enqueue the requested open-file arguments and exit with code 0. Do not launch Rider directly from this process.Pseudo-code:
This seems to matter because the actual Rider launch is no longer a child/descendant of the Codex desktop app. It happens from a normal user-started helper process instead. After switching to this queue + helper approach, Codex file links open in Rider successfully, including line/column arguments, and the
rider64.exe is still running and does not responddialog no longer appears.It would be great if Codex supported a custom editor command / .bat opener, or launched JetBrains IDE targets through a detached shell/user-context helper on Windows.
Portable build for the queue + helper workaround described above.
Usage:
codex-rider-wrapper.iniand settargetExeto your localrider64.exe.start-server.batorwebstorm64.exe --server.PATH.WebStormas the preferred editor.Attached zip:
codex-rider-wrapper-lite-trimmed-20260630-205315.zip