I'm trying to run a shell script on my 10.04 box with this in it - <br>cd /usr/local/Jdec<br>exec java -cp .:jdec20.jar net.sf.jdec.ui.main.UILauncher<br><br>I added a menuitem that has -  <br>gksudo /usr/local/Jdec/Jdec-UI.sh<br>
<br>When I run it from the gnome menu, I get no response <br>at the commandline I tried sudo /usr/local/Jdec/Jdec-UI.sh<br>after the prompt for the pw, the term window flashes and - nothing.<br>I altered the script to remove the 'exec' and this time the term window stays open longer, but still - no joy.<br>
I also tried to run the modified script (without the 'exec') from the gnome menu with the same results.<br>I changed the type of the menu entry from 'application' to 'application in terminal' with no differences.<br>
<br>I even tried putting the call to java on the properties line in the menu item, but that produces errors saying that the child process cannot be started.<br><br>The only way this runs is if I sudo, then cd to /usr/local/Jdec, then run the shell script at the commandline.<br>
<br>I must be missing something...<br><br>Input is (as always) welcome.<br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>