Installation error on Windows 10: 'Could not find or load main class'


#1

I’ve recently installed and trying to use Grakn.ai for visualization. Following the installation instructions on the 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.


#2

Hi @pingshiyu,

We don’t officially support Windows because we currently depend on Cassandra 2.1.x and this is in Beta on Windows. However, we do have a docker deployment available here which can work on windows.

Have you tried that?