Sample Header Ad - 728x90

Passing arguments to eclipse through flatpak

0 votes
1 answer
61 views
I run eclipse on linux mint. The installation uses flatpak as an envelope for execution. The exact command is: /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=eclipse --file-forwarding org.eclipse.Java I want to pass the workspace path to eclipse and after googling, found that eclipse can take an argument specifying the workspace. Specifically, it is the -data argument, which takes a path to the workspace. So, I tried: /usr/bin/flatpak run --branch=stable --arch=x86_64 --command="eclipse -data " --file-forwarding org.eclipse.Java I quoted the whole command because when left out the quotes, flatpak complained that it did not recognize the -data flag. However, now I get the following error: bwrap: execvp eclipse -data /home/dan/eclipse-workspace-minion: No such file or directory I am guessing that quoting eclipse interferes with flatpak's search for the eclipse executable. (BTW: I checked and the directory /home/dan/eclipse-workspace-minion exists.) Can anyone advise me how to pass the -data argument to eclipse when it is executed through flatpak?
Asked by dnessett (31 rep)
Dec 13, 2024, 04:34 AM
Last activity: Dec 14, 2024, 09:05 PM