I accidentally deleted my .bashrc a few days ago. I attempted to recreate it, but unfortunately I still have some problems. A Java debugger that I used to use no longer works properly because it can't find this class:
aetherboard:Home shwangster$ java ucb.gjdb.GJDB
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/jdi/VMDisconnectedException
For my class I am using Java 1.7. Here is my reconstructed .bash_profile for reference.
export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/"
export CS61B_LIB_DIR="/Users/shwangster/Documents/gitrepos/cs61b/lib/*"
export CLASSPATH="$CLASSPATH:$JAVA_HOME/bin/:$CS61B_LIB_DIR:./"
alias tls="tmux ls"
alias tat="tmux attach -t"
alias tns="tmux new-session -s"
Confirmation that my .bash_profile works (albeit only after I source
it)
aetherboard:Home shwangster$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/