Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I know there is a lot of threads about setting classpath, but it's getting more confused after reading various ways.

I am using a java application called BabelNet which can disambiguate word senses. In installation, it requires me to add a config folder which contains a bunch of configuration files such as *.properties and *.class into the classpath. And here is my effort:

CLASSPATH=/home/Babelnet-api/config
export CLASSPATH

But when I run my java codes, it always pops up the error that could not find the configuration file to start. Could anyone give me some hints or any ideas about this problem?

In the "READ ME" file of BabelNet, it actually gives me a sample command of how to add a class file to classpath, but I totally lost. Here is the sample command:

java -classpath bin:lib/*:config it.uniroma1.lcl.babelnet.BabelNetDemo

So, could anyone explain it briefly? Particularly, the part starts from config.

Many many thanks to the help in advance!

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.