New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JetBrains applications/products installed using JetBrains Toolbox won't start #240444
Comments
I'm not sure what happened, but after recent system update and It seems to start in it's own |
I see what you describe. Not sure what's going on with Feel free to let this one open if you have plans to take a look at it at some point. Thanks for the tip! 👋 |
As far as I understand the reason is that you are using JetBrains JDK that is downloaded into your home directory. It is not properly patched to see the all the needed system library and interpreter and has default paths in ELF file. That's the reason for file not found. When you start your ide from JB Toolbox it's started via appimage and the appimage environment has all the required paths, so dependencies of jvm are resolvable there. So this appimage env is propagated to ide and because of that it magically works. I was trying to solve this issue for quite long time (before I discovered how to run Toolbox) and all my attempts were unsuccessful. |
I'm seeing this problem also. I have not downloaded anything "manually" - I installed the NixOS package for jetbrains-toolbox and then used that for installing JetBrains applications (as is pretty much the whole point of it). Applications work when started by JetBrains Toolbox because they are then launched inside the bwrap environment. The problem is the .desktop files created by Jetbrains Toolbox just try to start the java binary without the bwrap environment. I realize it is messy to live-patch .desktop files that JetBrains Toolbox creates. But if NixOS at least provded a way for me to launch applications inside of the same environment as JetBrains Toolbox (similar to the steam-run package) then I could create my own .desktop files or shell scripts to start the developer tools without having to click my way through the Toolbox every time. |
This is aggravated by the fact that the Jetbrains Toolbox tray icon does not display properly in the polybar tray, so if you ever close the Toolbox window you have to start another Toolbox process even though the previous one is still running. |
New to NixOS here, and I have the same behaviour. Fresh install of "jetbrains-toolbox" through systemPackages in /etc/nixos/configuration.nix I installed RustRover from the ToolBox and whenever I try to start it with the "application shortcut" it doesn't start. |
works for me with rustrover... |
First time I hear of nix-ld. Thanks, I will look into it and use it to enable apps. It's mostly probable that your setup works for other jetbrains apps as well, since they are all one app, anyway. |
It somehow works, but when using Android Studio, I cannot setup the JDK path to the @haraldh Do you happen to know how to fix this with your setup? |
You can try with all appimage packages as defined in nixpkgs/pkgs/build-support/appimage/default.nix Lines 95 to 212 in 3030f18
e.g. programs.nix-ld.libraries = with pkgs; [
SDL
SDL2
SDL2_image
SDL2_mixer
SDL2_ttf
SDL_image
SDL_mixer
SDL_ttf
alsa-lib
at-spi2-atk
at-spi2-core
atk
bzip2
cairo
cups
curlWithGnuTls
dbus
dbus-glib
desktop-file-utils
e2fsprogs
expat
flac
fontconfig
freeglut
freetype
fribidi
fuse
fuse3
gdk-pixbuf
glew110
glib
gmp
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-ugly
gst_all_1.gstreamer
gtk2
harfbuzz
icu
keyutils.lib
libGL
libGLU
libappindicator-gtk2
libcaca
libcanberra
libcap
libclang.lib
libdbusmenu
libdrm
libgcrypt
libgpg-error
libidn
libjack2
libjpeg
libmikmod
libogg
libpng12
libpulseaudio
librsvg
libsamplerate
libthai
libtheora
libtiff
libudev0-shim
libusb1
libuuid
libvdpau
libvorbis
libvpx
libxcrypt-legacy
libxkbcommon
libxml2
mesa
nspr
nss
openssl
p11-kit
pango
pixman
python3
speex
stdenv.cc.cc
tbb
udev
vulkan-loader
wayland
xorg.libICE
xorg.libSM
xorg.libX11
xorg.libXScrnSaver
xorg.libXcomposite
xorg.libXcursor
xorg.libXdamage
xorg.libXext
xorg.libXfixes
xorg.libXft
xorg.libXi
xorg.libXinerama
xorg.libXmu
xorg.libXrandr
xorg.libXrender
xorg.libXt
xorg.libXtst
xorg.libXxf86vm
xorg.libpciaccess
xorg.libxcb
xorg.xcbutil
xorg.xcbutilimage
xorg.xcbutilkeysyms
xorg.xcbutilrenderutil
xorg.xcbutilwm
xorg.xkeyboardconfig
xz
zlib
]; |
I can confirm this works for:
|
|
When I launch an IDE using the
Is there a workaround to make the system CA bundle available? |
Does setting |
or |
I've set both variables, it doesn't help unfortunately. |
Describe the Bug
I recently installed
jetbrains-toolbox
with Home Manager. I then installed at least 3 applications I commonly use, using JetBrains Toolbox...and not a single one will start.Steps To Reproduce
jetbrains-toolbox
Expected Behavior
Applications installed should work.
Additional Context
This is the error I'm getting in the
journal
:And something similar if I try to just run the shell script directly:
[x80486@uplink:~/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.9161.38/bin]$ ./idea.sh ./idea.sh: line 171: /home/x80486/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.9161.38/jbr/bin/java: cannot execute: required file not found
Notify maintainers
@AnatolyPopov
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: