export JAVA_HOME=/Library/Java/Home
export R_HOME=/Library/Frameworks/R.framework/Resources
LD_LIBRARY_PATH=${R_HOME}/lib:${R_HOME}/bin:${JAVA_HOME}/jre/lib/i386/client:${JAVA_HOME}/jre/lib/i386:${JAVA_HOME}/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib:${R_HOME}/library/rJava/jri:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

java -Djava.library.path=${R_HOME}/library/rJava/jri:/usr/lib/java/jdk1.6.0_12/jre/lib/i386/client:/usr/lib/java/jdk1.6.0_12/jre/lib/i386:/usr/lib/java/jdk1.6.0_12/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib -cp ${R_HOME}/library/rJava/jri/JRI.jar:.:${PATH} -Xmx1024m -jar bicover.jar
