# Installation StartDog on Windows

**URL:** <https://community.stardog.com/t/installation-startdog-on-windows/3780>\
**Category:** Support\
**Created:** [May 26, 2022, 5:17pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780 "2022-05-26T17:17:04Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tam](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Tam](https://community.stardog.com/u/Tam)\
**Post date:** [May 26, 2022, 5:17pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/1 "2022-05-26T17:17:04Z")

</div>

I Installed Stardog as described in : [404 | Stardog Documentation Latest](https://docs.stardog.com/get-started/install-stardog/windows-installation)

All the steps work perfectly except the last one, when I start the startdog service, I got:  
 ![image](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/a/af75c9cd68bae644193ae4d249844810f4c4962b.png)

I try another way by executing the following command:  
Terminal 1(as admin)  
1.

> C:\stardog\stardog-7.9.1\bin\stardog-admin.bat server start

I got the following:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/b/b387af66db6a2f03bead68812ef842ffdc093c78.png)  
Terminal 2 (as admin)  
So in another command line I execute the command from the folder that includes my data:

> C:\stardog\stardog-7.9.1\bin\stardog-admin.bat db create -n myDB data.nt

Now in terminal 1, I got the following exception:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/f/f0c7fb4faaae50eed3ba4396559ec630eafc7b5d.png)

any help please?

---

<div class="post-metadata">

**Author:** ![ClarkFarley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/clarkfarley/32/1144_2.png) [@ClarkFarley](https://community.stardog.com/u/ClarkFarley)\
**Post date:** [May 26, 2022, 5:58pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/2 "2022-05-26T17:58:12Z")

</div>

Hi Tam,

Can you ensure the file path to your data file is correct? Based on the command you're running you want it to be in your current working directory.

Best,  
Clark

---

<div class="post-metadata">

**Author:** ![Tam](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Tam](https://community.stardog.com/u/Tam)\
**Post date:** [May 27, 2022, 1:04am UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/3 "2022-05-27T01:04:24Z")

</div>

Hi ClarkFarley,

Yes I execute the third command from the directory where my data is:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/0/0f5e7fcc6ef560323c3467d737f816d1919b7cb7.png)  
and still I got the same error  
Regards

---

<div class="post-metadata">

**Author:** ![tim](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/tim/32/1177_2.png) [@tim](https://community.stardog.com/u/tim)\
**Post date:** [May 27, 2022, 1:32am UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/4 "2022-05-27T01:32:04Z")

</div>

Is a database called "myDB" is being created even though it's not loading the file?

---

<div class="post-metadata">

**Author:** ![Tam](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Tam](https://community.stardog.com/u/Tam)\
**Post date:** [May 27, 2022, 12:46pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/5 "2022-05-27T12:46:28Z")

</div>

Hi tim,  
In the picture above, I try to create a database called myDB and then add data.nt to this database.  
Regards

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [May 27, 2022, 1:06pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/6 "2022-05-27T13:06:48Z")

</div>

You can try adding the ` --copy-server-side` flag with the `stardog-admin db create ....` command. I realize that you're running the client and server on the same machine but since you're running it as two separate users Stardog may be having trouble accessing the file. Running as admin doesn't necessarily mean it can access the file. I'm not a Windows person but between windows ACL's and access controls from it possibly being on a separate SMB share mean it's not guaranteed to be able to access it even though it's admin.

---

<div class="post-metadata">

**Author:** ![stephen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/stephen/32/27_2.png) [@stephen](https://community.stardog.com/u/stephen)\
**Post date:** [May 27, 2022, 1:59pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/7 "2022-05-27T13:59:43Z")

</div>

Hi Tam,

On top of what @zachary.whitley said, you could try being explicit about the file path too: `\stardog\stardog-7.9.1\bin\stardog-admin.bat db create -n myDB \Users\Admin\Documents\dataset\rdf\data.nt`

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [May 27, 2022, 2:15pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/8 "2022-05-27T14:15:55Z")

</div>

Didn't notice that the file was located in the Admin user directory. That lowers the probability that what I suggested would work but you can give it a try. Are you running both the client and server as admin?

---

<div class="post-metadata">

**Author:** ![Tam](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Tam](https://community.stardog.com/u/Tam)\
**Post date:** [May 27, 2022, 2:37pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/9 "2022-05-27T14:37:17Z")

</div>

Hi zachary.whitley,

Yes.

---

<div class="post-metadata">

**Author:** ![Tam](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Tam](https://community.stardog.com/u/Tam)\
**Post date:** [May 27, 2022, 2:42pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/10 "2022-05-27T14:42:37Z")

</div>

> [@zachary.whitley](#):
>
> --copy-server-side

Hi stephen,

I get the same exception with this command:  
`\stardog\stardog-7.9.1\bin\stardog-admin.bat db create -n myDB \Users\Admin\Documents\dataset\rdf\data.nt --copy-server-side`  
Regards

---

<div class="post-metadata">

**Author:** ![Tam](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Tam](https://community.stardog.com/u/Tam)\
**Post date:** [May 27, 2022, 2:45pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/11 "2022-05-27T14:45:07Z")

</div>

Even as not an admin is still I get the same exception

---

<div class="post-metadata">

**Author:** ![Tam](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Tam](https://community.stardog.com/u/Tam)\
**Post date:** [May 27, 2022, 2:50pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/12 "2022-05-27T14:50:33Z")

</div>

no directly we get an exception

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [May 27, 2022, 2:54pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/13 "2022-05-27T14:54:12Z")

</div>

This is a wild swing but can you try quoting the full file path?

\stardog\stardog-7.9.1\bin\stardog-admin.bat db create -n myDB "\Users\Admin\Documents\dataset\rdf\data.nt" --copy-server-side

---

<div class="post-metadata">

**Author:** ![Tam](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Tam](https://community.stardog.com/u/Tam)\
**Post date:** [May 27, 2022, 3:16pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/14 "2022-05-27T15:16:27Z")

</div>

☹ unfortunaley still not working

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [May 27, 2022, 4:25pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/15 "2022-05-27T16:25:26Z")

</div>

One last one, can you add the drive letter to the path?

`\stardog\stardog-7.9.1\bin\stardog-admin.bat db create -n myDB "C:\Users\Admin\Documents\dataset\rdf\data.nt" --copy-server-side`

---

<div class="post-metadata">

**Author:** ![Tam](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Tam](https://community.stardog.com/u/Tam)\
**Post date:** [May 27, 2022, 4:26pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/16 "2022-05-27T16:26:17Z")

</div>

> [@zachary.whitley](#):
>
> rver-side

I also tried this option. ☹

---

<div class="post-metadata">

**Author:** ![PaulPlace](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/paulplace/32/1447_2.png) [@PaulPlace](https://community.stardog.com/u/PaulPlace)\
**Post date:** [May 31, 2022, 4:37pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/17 "2022-05-31T16:37:51Z")

</div>

This looks like an error I was seeing with Oracle's JRE 8u331. I noticed that Oracle had recently released JRE 8u333, so I uninstalled 8u331 and installed the newer version, and Stardog started working on Windows.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [June 10, 2022, 6:28am UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/18 "2022-06-10T06:28:52Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [June 20, 2022, 5:56pm UTC](https://community.stardog.com/t/installation-startdog-on-windows/3780/19 "2022-06-20T17:56:19Z")

</div>


