Re: Why do some programs run incorrectly if run from a shortcut or dock/launcher?
Launchers often have trouble with parameters, so try sh -c and enclosing the rest in single quotes:
Code:
sh -c 'java -jar wordbiz.jar'
However, depending where wordbiz.jar is, you likely need to provide a path to it.
For example I use this in a launcher for minecraft (launched in a terminal and that launches the gui):
Code:
sh -c 'java -Xmx2G -Xms1G -cp ~/MC-client/minecraft.jar net.minecraft.LauncherFrame'
Last edited by efflandt; January 8th, 2013 at 08:16 AM.
i5 650 3.2 GHz, 8 GB, nvidia GTX 550 Ti @ 1080p (year old GT 430 began freezing) and assorted other computers
Bookmarks