Showing posts with label shell. Show all posts
Showing posts with label shell. Show all posts

Wednesday, November 10, 2010

Set CLASSPATH bash shell via .bashrc conf file

type this on terminal (bash shell) :

sudo gedit ~/.bashrc

Append that conf file look like this line, modified the path to suit your environment :

export JASPER_HOME=/media/D/libs/JasperReport;
export CLASSPATH=$CLASSPATH:$JASPER_HOME/jasperreports-3.7.6/dist:$JASPER_HOME/jasperreports-3.7.6/lib;
test with :

echo $CLASSPATH

everytime you start your terminal, your classpath automatically setted.