Icon Launcher + .jar file

NoOp glgxg at sbcglobal.net
Thu Jul 5 23:44:25 UTC 2007


On 07/04/2007 08:01 PM, NoOp wrote:
> I am having difficulty running a .jar file from a Gnome desktop icon
> launcher (Ubuntu 7.04 ubuntu-desktop).
> 
> I can run the program by double-clicking the programname.jar file in
> Nautilus (user status) in the programs directory, but if I create a
> desktop icon (right-click on the desktop & "Create Launcher") I can't
> get the program to run.
> 
> The program is JavaScore: http://www.gromurph.org/javascore/
> If I use Nautilus to go to the installed directory, in my case:
> /home/gg/javascore/ and double-click on JavaScore.jar or right click and
>  allow it to open with Sun Java 6 Runtime the program runs with no
> problems at all. However, if I attempt to do the same from a created
> desktop icon launcher that points to /home/gg/javascore/JavaScore.jar I
> get nothing. If I try from a terminal I get:
> 
> $ /home/gg/javascore/JavaScore.jar
> /home/gg/javascore/JavaScore.jar: line 1: PK: command not found
> /home/gg/javascore/JavaScore.jar: line 2: d�: command not found
> /home/gg/javascore/JavaScore.jar: line 3: �d�8�M: No such file or
> directory
> /home/gg/javascore/JavaScore.jar: line 4: syntax error near unexpected
> token `�G�:�d��'
> /home/gg/javascore/JavaScore.jar: line 4:
> `�b^(�G�:�d��&��N����.��{�鸤z��k���z��4�4٭Vf�l����9�X�b7����
>  ��,��?y-*�J�_PK'
> 
> Any ideas on what I need to do to run from a desktop icon or from the
> terminal?
> 
> G
> 
> 
> 


Anyone?






More information about the ubuntu-users mailing list