You are not logged in.

#1 2009-08-29 14:48:17

DIDI2002
Member
Registered: 2009-08-06
Posts: 66

Launching .jar from xfce menu + awn

Hi,

I feel kinda stupid to ask this, but I just can't manage to launch .jar files (JDownloader) from the xfce menu and awn.
running "java -jar ..../JDownloader.jar" works of course, but using "Exec=java -jar ..../JDownloader.jar" in the .desktop file doesnt.
Starting AWN from the xfce menu and clicking the jdownloader launcher doesnt work, nothing happens
Starting AWN from a Terminal and watching the output...JDownloader starts up fine, so I could use "avant-window-navigator > /dev/null &" every time...
can anyone explain what's happening?

Bye

*edit*
using "/opt/java/jre/bin/java -jar /home/toor/.jd/JDownloader.jar" worked for the xfce menu, but awn still won't launch jdownloader sad

Last edited by DIDI2002 (2009-08-29 14:55:33)

Offline

#2 2009-08-29 14:56:05

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Launching .jar from xfce menu + awn

Hello DIDI2002!

Did you try it with other WM ? What's the error output exactly on the stderr ?

Offline

#3 2009-08-29 15:00:20

DIDI2002
Member
Registered: 2009-08-06
Posts: 66

Re: Launching .jar from xfce menu + awn

My other system running arch+gnome+awn works like a charm, so i guess it's xfce related.
when awn is started from the xfce menu, /opt/java/jre/bin/ is not in the PATH so it doesnt find java... this is not the case in gnome.

Anyway thanks for your help, I was right feeling stupid about this big_smile

Offline

#4 2009-08-30 00:47:38

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Launching .jar from xfce menu + awn

/opt/java/jre/bin/ is not in the PATH so it doesnt find java..

Can you check it on the console with echo $PATH ? If it would be in it , you can add it with export PATH=$PATH:/opt/java/jre/bin/, but it's not sure this is the problem with it.

Offline

Board footer

Powered by FluxBB