I want to add the java-servlet-api.jar to the classpath variable.
export CLASSPATH=/.../java-servlet-api.jar
adds the class path to only one session of the terminal. How do I permanently add this to CLASSPATH?
I looked at a few links which asked me to modify the bashrc file, but I am unable to locate it on EL Capitan. Can someone help me with this?