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. -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3
m.roth at 5-cent.us
2010-Jan-28 15:06 UTC
[CentOS] Starting a java applet from the desktop
> 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.Sure - there's something wrong with the link. You need to find out what the icon is pointing to. In kde, at least, I can right-click, and select properties. mark
On Thu, Jan 28, 2010 at 9:46 AM, James B. Byrne <byrnejb at 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