On Thu, Jan 28, 2010 at 9:46 AM, James B. Byrne byrnejb@harte-lyne.ca wrote:
CentOS-5.4 i86_64
I have a calculator applet on my desktop (superbcalc.jar). When I double click on it I get no response. If I right click and select open with java I get no response. If I open a terminal window and cd to Desktop and type java -jar superbcalc.jar then the applet opens.
Does anyone have any idea why I am seeing this behaviour? There are no messages in the syslog file relating to this.
Easiest thing is to just create a shortcut that calls the jar properly. The procedure depends on the desktop, but for the most part it's just a rightclick on the desktop, then on the "link" field you'd put in your command and the path to the jar. I keep all my jar files in ~/bin/java/jar and my shortcut does:
java -jar ~/bin/java/jar/myapp.jar