Cannot start the Stardog Server

Hello,

I have installed Stardog successfully on Windows OS, with all the settings(incl. license, Stardog home, etc. in place). However, when I try to start the Server it fails.
When I check the logs, I see the below text:

[2021-08-20 13:32:37] [info] Commons Daemon procrun (1.0.10.0 64-bit) started
[2021-08-20 13:32:37] [info] Running 'Stardog-Server' Service...
[2021-08-20 13:32:37] [info] Starting service...
[2021-08-20 13:32:37] [error] Failed creating java
[2021-08-20 13:32:37] [error] ServiceStart returned 1
[2021-08-20 13:32:37] [info] Run service finished.
[2021-08-20 13:32:37] [info] Commons Daemon procrun finished

How should I proceed? I would appreciate some guidance.

Hello and welcome!

From what I can find, that error happens when the service is unable to find your JVM. This could be because your system-wide environment variables don't have JAVA_HOME set, it could be that the service needs to be set up to run as the same user that installed Java, or something to that effect. I'd try looking in the service settings and see if you possibly have to explicitly set the path to the jvm.dll file.

Hi Stephen,
Thanks a lot for your quick and explanatory answer.
I have set the JAVA_HOME accordingly but still facing the same problem. What would you suggest for the next step?
One additional thing I'd like to ask: Are there any restrictions considering the compatibility of Stardog with the version of JDK?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.