How do I run a program from any directory?

I'm fairly new to my Mac and bash shell. I've installed a commercial programming language, but I can currently only run it from the installation directory. How do I set it up to run it from any directory on my machine?

Comments

  • You must include the directory of the program in your shell's classpath. This is all you need to know to figure it out.

Sign In or Register to comment.