hi all, i have written a java application and compile it into jar file. When i press on the file, the application runs normally but when i create a shorcut to the Application >> Accessories, the system alert that "permission denied". I logged into my root account and also change the permission access of the file but the error still happens. So can you me give me some suggestions, please?

I am using ubuntu Hardy Heron. Thanks

Change the shortcut's link file to +x?

can you give more details? say, my application is a.jar , locate at /home/name/Software so what do i have to write ?

what is the "command" that you put there for the shortcut in accessories?

ok, i got it. I forgot this is a java app so it has to execute java -jar <filepath>. Thank you very much

:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.