Problem
JetBrains Toolbox prompts to download repeatedly and cannot complete organization join or log in using the jetbrains:// protocol.
Cause
Toolbox fails to install the required component jetbrainsd because it cannot find the tar archiver during the installation process. This happens due to the /usr/bin directory being absent from the PATH environment variable. The expected path for tar is /usr/bin/tar, but Toolbox cannot access it, leading to extraction failure:
Failed to launch daemon. Best-effort version: null: com.jetbrains.toolbox.ResultException: Failed to extract tar '/Applications/JetBrains Toolbox.app/Contents/jetbrainsd/jetbrainsd.app.tar.gz'
Caused by: java.io.IOException: Cannot run program "tar": Exec failed, error: 2 (No such file or directory)Resolution
If the PATH variable can't be changed, try manually extracting the jetbrainsd and running it:
- Navigate to
/Applications/JetBrains Toolbox.app/Contents/jetbrainsd/ - Unzip
jetbrainsd.app.tar.gzto a user-available folder using any installed archiver on the machine. Presence of thetarutility can be checked usingwhich tarin the terminal - Navigate to the extracted content and run the
./jetbrainsd.app/Contents/MacOS/jetbrainsd - After running
jetbrainsd, retry the authentication or organization join process in Toolbox. The Toolbox integration should now proceed as expected.
Note: This is a temporary workaround. The extracted daemon may need to be reapplied after future Toolbox updates.
Comments
0 comments
Please sign in to leave a comment.