Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

grakn.ai installation error: Could not find or load main class ai.grakn.client.Client

I've recently installed and tried to use Grakn.ai for visualization. Following the instructions on grakn.ai's website, I ran into the following problem when trying to run:

\grakn-dist-0.15.0>.\bin\grakn.sh start

in Windows 10 command prompt, 64 bit, the following lines are displayed before exiting:

Starting redis
Cassandra already running
Starting engine.Error: Could not find or load main class 
ai.grakn.engine.GraknEngineServer
Error: Could not find or load main class ai.grakn.client.Client
.Error: Could not find or load main class ai.grakn.client.Client
.Error: Could not find or load main class ai.grakn.client.Client

I have also attempted to add JAVA_HOME into System Variables, however this is to no avail. (I noticed that JAVA_HOME did not exist when I initially looked for it and so I had to manually create the variable and set jdk path - perhaps this implies some issue)

Thank you very much for your time and I'd be very grateful for any help.

like image 809
CowNorris Avatar asked Aug 10 '17 00:08

CowNorris


1 Answers

You can start by checking the version of the jdk you are using. Grakn requires Oracle JDK 8 to be specific.

Also note, that Grakn does not yet officially support Windows because of Cassandra 2.1 being beta on windows. However you can get it working on windows. This page suggests how you can achieve it. I would recommend going with the docker version as it is simpler to work with.

like image 98
Filipe Teixeira Avatar answered Oct 10 '22 23:10

Filipe Teixeira