Adding Classpath
Hello Guys,
I'm trying to get a few small java script up and running, but i'm getting errors when trying to run the file like.
java myfile
The error i get is "Problem: java.lang.NoClassDefFoundError:
com/appliancestudio/jbluez/BlueZException" which the documentation suggests is caused because the class path is not set correctly.
The documentation for jBlueZ at the begining told me to do the following:
export CLASSPATH=$CLASSPATH:/home/user/jbluez/bin/jbluez.jar
and
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/user/jbluez/bin/
both of which i have done, they -appear- to run, it doesnt give me any feedback, but i also get no error. Is there a better way to set these files into the class and ld library paths?
I'm running slackware linux with the latest java sdk package installed.
Thanks guys,
Rob

