Getting CLASSPATH set up with bash
export CLASSPATH=$CLASSPATH:pathtoyourhomedir/cs3212/algtest.jar:.
Here, you'll replace pathtoyourhomedir with the actual
path to your home directory. This might look something like (for
user batman):
/Users/batman/Desktop
Then, the whole thing would look like:
export CLASSPATH=$CLASSPATH:/Users/batman/Desktop/cs3212/algtest.jar:.
export CLASSPATH=$CLASSPATH:/C/Users/batman/Desktop/cs3212/algtest.jar:.
cd
more .bashrc
You should see your additions to the file.