I have the same/similar problem as this call Problems installing Stardog, although I think the install is OK. Just starting the server doesn't work.
I get this when running stardog-admin server start
Unable to provision, see the following errors:
- Error injecting constructor, java.lang.ExceptionInInitializerError
while locating com.complexible.stardog.StardogKernel
while locating com.complexible.stardog.Kernel
I do have both Java 8 and Java 11 installed on my machine
- 1.8 (set by /Users/derek/opt/stardog-7.1.1/bin/.java-version)
I inserted some echo statements in stardog-admin to check the version being used. I added the following -
The output was -
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.242-b08, mixed mode)
-Dstardog.home=/Users/derek/data/StardogHome/ -Xmx512m -Djava.library.path=/Users/derek/opt/stardog-7.1.1/bin/../lib
It looks like it's running the right version of java. So, why is it giving this error when starting?