[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Sat, 2009-02-14 at 14:05 +0000, Simon Robert wrote: > Hi > I've installed a java app called storYbook. It starts from the command > line in its installation directory from a script file called > storybook.sh. This contains java -Xmx192m -jar lib/storybook.jar which > also works. > > I'm trying to put it into the ubuntu menu. I've tried > /home/simon/storybook/storybook.sh > the same with a "." the front and > java -Xmx192m -jar /home/simon/storybook/lib/storybook.jar and > variations on them. > > Running the last command from anywhere apart from its directory gets a > missing file report from java. > > What should I be doing? > > Thanks > Simon > > > Try adding it to the menu as : /bin/sh "/home/simon/storybook/storybook.sh" As I have an entry from Moneydance that is also a java app that is run from a script like yours, and the above is how its entry is made in the gnome menu. John -- SubBASS <subbass@xxxxxxxxxxxxxxx>
Attachment:
signature.asc
Description: This is a digitally signed message part
-- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html