For school we need to add a library for Java development. These are the steps that we need to follow:
$ cd ~
nano ~/.profile
- Add:
export CLASSPATH=.:~/Library/javautils/*:$CLASSPATH
- Save with Ctrl+o and Enter
- Quit nano with Ctrl+x
- Quit and reopen Terminal
But when I try echo $CLASSPATH
it doesn't return anything. On Mavericks it didn't seem to be a problem. So it's Yosemite's fault. Anybody have any I idea on how I can fix this?