my path variable seems to be a bit hosed. I recently modified my /etc/profile to add GRAILS_HOME and modify JAVA_HOME. the problem now (moved off of grails to lift for the time being) is that there is an extra
/ in one of the directories. I'm not sure how to find where this is set in or der to fix it. Could someone please point me in the right direction?
echo $PATH /usr/java/jdk1.6.0_27:/home/Ramy/grails/bin:/usr/local//bin:/usr/java/jdk1.6.0_27:/home/Ramy/grails/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/java/jdk1.6.0_27/bin/java
I killed my terminal and opened a new one. the extra
/ seems to be gone. However, when I'm now getting this:
[Ramy@localhost ~]$ sbt Invalid or corrupt jarfile /usr/local/bin [Ramy@localhost ~]$ echo $PATH /usr/java/jdk1.6.0_27:/home/Ramy/grails/bin:/usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/java/jdk1.6.0_27/bin/java/bin:/usr/local/rvm/bin:/home/Ramy/bin:/usr/java/jdk1.6.0_27/bin/java/bin
Here's the contents of /usr/local/bin/sbt:
java -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=1024m -Xmx2048M -Xss4M -jar `dirname $0` /sbt-launcher.jar "$@"