Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Everytime I want to run an application with Application Launcher (Alt+F2) in my Ubuntu, I have to make a link to that app and put it in /usr/bin folder, Application Launcher won't search in the folder which I've added to $PATH.

I'm installing jdk 1.7 and it has many tools in it's bin folder and I don't want to manually put a link in /usr/bin for each tool in jdk's bin folder. I want AppLauncher to search for them in jdk1.7's folder.

How can I do that? Thanks :)

share|improve this question
What is the full jdk directory path? How is set the PATH variable? – Ielton Dec 27 '11 at 22:20
I put jdk here: /usr/bin/jdk1.7.0_02 export PATH=$PATH:/usr/bin/jdk1.7.0_02/bin – Hieu M. Nguyen Dec 28 '11 at 10:16
Hey, try to change it: export PATH=$PATH:/usr/bin/jdk1.7.0_02/bin fot it: export PATH=$PATH:/usr/bin/jdk1.7.0_02/bin/ and show us the result of this command: $ echo $PATH – Ielton Dec 28 '11 at 12:25

You must log in to answer this question.

Browse other questions tagged .