Installing Local Biomart "Error: Could Not Find Or Load Main Class Org.Biomart.Configurator.Test.Martconfigurator"
1
0
Entering edit mode
11.6 years ago
secretjess ▴ 210

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 • 4.0k views
ADD COMMENT
0
Entering edit mode

did you run ant and did that complete correctly?

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode
11.6 years ago

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)

ADD COMMENT

Login before adding your answer.

Traffic: 2775 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6