This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Installing Local Biomart "Error: Could Not Find Or Load Main Class Org.Biomart.Configurator.Test.Martconfigurator"

I've been following the guide at http://www.biomart.org/other/rc6_documentation.pdf

Run MartConfigurator with the following command in the directory of your installation:
./dist/scripts/martconfigurator.sh

When I do this, I get the following error:

Error: Could not find or load main class org.biomart.configurator.test.MartConfigurator

and I have no idea if this is relevant, but within martconfigurator.sh there's this line:

$JAVA -Xmx2048m -Xms1024m -cp $TMP_CLASSPATH org.biomart.configurator.test.MartConfigurator $@
local biomart java

did you run ant and did that complete correctly?

Yes, I get BUILD SUCCESSFUL displayed after I run ant. I have tried uninstalling and reinstalling several times now, I always get the message Starting MartConfigurator please wait .... Error: Could not find or load main class org.biomart.configurator.test.MartConfigurator

1 answer

I think it is just that the import path, in this case the java classpath, is not set properly.

This is one of those simple problems that can also be maddening since the error messages are unhelpful, what the message does not say (and it should) just where exactly did java look to find the classes.

Try to pass the flag to java to point to the right directory http://en.wikipedia.org/wiki/Classpath_(Java)

Log in to answer this question.