Windows 10 Stardog Windows Native Installation Not Running


I am trying to run stardog-admin Windows native and it recognizes the trial license and the stardog environment variables are setup when running the install-service.bat. I also initiated the Stardog server service which is setup as manual by default. I need to run it native because I want to setup a Virtual Knowledge Graph to a MongoDB database and to other ORDBMS such as postgresql.

Here is the set up of the env variables:

Stardog Windows Environment Variables:

Checking the license is OK:
C:\stardog-7.0.3\bin>stardog-admin license info C:\stardog-7.0.3\stardog-license-key.bin
Licensee: Stardog Trial User (, Stardog Union
Version: Stardog 7.0.3
Type: Trial
Issued: Mon Nov 18 12:34:47 COT 2019
Expiration: 59 days
Support: The license does not include maintenance.
Quantity: 3

Tried to run stardog-admin and I get the following error:
C:\stardog-7.0.3\bin>stardog-admin server start
An unexpected error occurred.
java.lang.UnsatisfiedLinkError: no Starrocks in java.library.path

NOTE: java runtime and jdk are installed and are:
C:\stardog-7.0.3\bin>java -version
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)

The error logs are :
2019-11-20 09:24:05 Commons Daemon procrun stderr initialized
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging.
An unexpected error occurred.
java.lang.NoClassDefFoundError: Could not initialize class com.stardog.starrocks.NativeStorageKernel

2019-11-20 09:24:05 Commons Daemon procrun stdout initialized
09:24:14.179 [main] ERROR com.stardog.starrocks.NativeStorageKernel - Unable to load native library(Starrocks):
java.library.path = <C:\stardog-7.0.3\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Docker\Docker\Resources\bin;C:\Program Files\Microsoft MPI\Bin;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Anaconda35;C:\Anaconda35\Library\mingw-w64\bin;C:\Anaconda35\Library\usr\bin;C:\Anaconda35\Library\bin;C:\Anaconda35\Scripts;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;C:\WINDOWS\system32\windowspowershell\v1.0;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0;c:\program files (x86)\nvidia corporation\physx\common;c:\program files\git\cmd;c:\program files (x86)\miktex 2.9\miktex\bin;c:\hashicorp\vagrant\bin;c:\program files\mongodb\server\4.0\bin;C:\WINDOWS\system32\openssh;C:\WINDOWS\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;c:\Program Files\Calibre2;C:\PostgreSQL\pg10\bin;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\WinMerge;C:\Program Files\Pandoc;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\LyX 2.3\Perl\bin;C:\Program Files\MiKTeX 2.9\miktex\bin\x64;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn;C:\Program Files\Microsoft SQL Server\140\Tools\Binn;C:\Program Files\Microsoft SQL Server\140\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\PuTTY;C:\Program Files;C:\Program Files (x86)\AOMEI Backupper;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files\Git\cmd;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;.>
java.lang.UnsatisfiedLinkError: no Starrocks in java.library.path

[2019-11-20 09:23:02] [info] Commons Daemon procrun ( 64-bit) started
[2019-11-20 09:23:02] [info] Service Stardog-Server name Stardog Server
[2019-11-20 09:23:02] [info] Service 'Stardog-Server' installed
[2019-11-20 09:23:02] [info] Commons Daemon procrun finished
[2019-11-20 09:24:05] [info] Commons Daemon procrun ( 64-bit) started
[2019-11-20 09:24:05] [info] Running 'Stardog-Server' Service...
[2019-11-20 09:24:05] [info] Starting service...
[2019-11-20 09:24:06] [info] Service started in 1553 ms.

I believe that I must setup the following env var: STARDOG_SERVER_JAVA_ARGS to a valid value but I do not know to which value it should be setup.

Please reply, other users like me will appreciate that it is possible to run Stardog in Windows 10 (native). Thanks

According to the requirements docs, Stardog 7 does not have native support for running in Windows.

You will need to run Stardog 7 via Docker

I hope this will change at some point in the near future to where Version 7 will be supported for a traditional "download" installation. There is an unfortunate number of us who are required to run Windows while at the same time prevented by our IT overlords from installing and using Docker. This restriction means I remain at Stardog 6 while the cool kids get to play with the new toys in 7.

1 Like

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