You are not logged in.
Pages: 1
hello Bunsenlabs forum members
Well I installed eclipse by eclipse installer.
I can start eclipse when I enter the following command in a terminal:
cd /home/renatinho/eclipse/java-mars/eclipse && ./eclipse
So I added this to menu.xml:
<menu id="development" label="Development">
<item label="Eclipse">
<action name ="Execute">
<command>
cd /home/renatinho/eclipse/java-mars/eclipse && ./eclipse
</command>
</action>
</item>
</menu>
But when I try to start Eclipse by menu I get:
Failure to execute child process "cd"(File or directory not found)
=== Mod Edit ===
Please use
[code]
code tags when showing terminal output
[/code]
Last edited by Sector11 (2016-03-27 21:16:12)
Offline
Wrap the command in an x-terminal emulator call:
x-terminal-emulator -e "cd /home/renatinho/eclipse/java-mars/eclipse && ./eclipse"
Offline
Thanks by reply this so fast tknomanzr
when I tried this:
x-terminal-emulator -e "cd /home/renatinho/eclipse/java-mars/eclipse && ./eclipse"
I get:
unable to find a shell
Offline
Why not just full path
/home/renatinho/eclipse/java-mars/eclipse/eclipse
or
~/eclipse/java-mars/eclipse/eclipse
Offline
Failure to execute child process "cd"(File or directory not found)
Try this instead:
<command>
. /home/renatinho/eclipse/java-mars/eclipse/eclipse
</command>
Or:
sh /home/renatinho/eclipse/java-mars/eclipse/eclipse
Offline
Thanks to everyone that tried to help me
brontosaurusrex's tip solved my problem!
Sorry by my poor English
Offline
Your English is better than my <your mother-tongue>.
Be cool we don't bite. Glad it's fixed.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Online
Pages: 1