execute commands in order to start newly installed programs
I often install new *rpms and in oder to start the installed program i have to go to the installation folder, open a terminal there and type the command. I 'd like to be able to open a terminal and from whatever folder i am in at that moment i'd like to be able to execute the program. I know that i have to set a path or something like that, but i don't know exactly what to do. For example i'd like to execute the "javac" and "java" commands, which have been installed in "/usr/java/j2sdk*/" path. How can i do it?