# What do you need to get started?

**URL:** <https://sirix.discourse.group/t/what-do-you-need-to-get-started/22>\
**Category:** Uncategorized\
**Created:** [April 1, 2019, 10:38pm UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22 "2019-04-01T22:38:26Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![johannes](https://yyz2.discourse-cdn.com/free1/user_avatar/sirix.discourse.group/johannes/32/7_2.png) [@johannes](https://sirix.discourse.group/u/johannes)\
**Post date:** [April 1, 2019, 10:38pm UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/1 "2019-04-01T22:38:26Z")

</div>

Hi,

just wanted to know if you’re having trouble setting up or working with Sirix. If you struggle with anything just ask 🙂

Kind regards  
Johannes

---

<div class="post-metadata">

**Author:** ![tashachin](https://yyz2.discourse-cdn.com/free1/user_avatar/sirix.discourse.group/tashachin/32/32_2.png) [@tashachin](https://sirix.discourse.group/u/tashachin)\
**Post date:** [December 16, 2019, 2:22pm UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/2 "2019-12-16T14:22:57Z")

</div>

Hi Johannes,

I’m reading the documentation and my eyes are glazing over at all the jargon. Do you have a step-by-step guide for deployment/building the database? What programs will I need to have installed?

If it’s useful, I’m on `Windows 10 OS` and I have some flavor of `Git Bash` on my desktop.

---

<div class="post-metadata">

**Author:** ![johannes](https://yyz2.discourse-cdn.com/free1/user_avatar/sirix.discourse.group/johannes/32/7_2.png) [@johannes](https://sirix.discourse.group/u/johannes)\
**Post date:** [December 16, 2019, 2:42pm UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/3 "2019-12-16T14:42:41Z")

</div>

Do you want to set up the front-end for helping with the development? Or simply use the HTTP-Server or use it as an embedded Java library? 🙂

---

<div class="post-metadata">

**Author:** ![tashachin](https://yyz2.discourse-cdn.com/free1/user_avatar/sirix.discourse.group/tashachin/32/32_2.png) [@tashachin](https://sirix.discourse.group/u/tashachin)\
**Post date:** [December 16, 2019, 5:10pm UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/4 "2019-12-16T17:10:37Z")

</div>

Sorry, I’m not sure I understand the difference between all three of those. Let me loop in one of my friends in the industry and see what makes the most sense.

I usually use a text editor to produce code (like Atom), so I’m used to pulling things from Github and then pushing back after I’ve made some commits. Is development currently test-driven? Have features been marked as issues?

---

<div class="post-metadata">

**Author:** ![johannes](https://yyz2.discourse-cdn.com/free1/user_avatar/sirix.discourse.group/johannes/32/7_2.png) [@johannes](https://sirix.discourse.group/u/johannes)\
**Post date:** [December 16, 2019, 6:19pm UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/5 "2019-12-16T18:19:23Z")

</div>

I mean

- There’s the web front-end, which can on the one hand be used to interact with SirixDB, for instance through queries or through data changes in different views (as for instance pgAdmin for PostgreSQL).
- You can use SirixDB from another Java library to store snapshots of currently XML and JSON data and query these snapshots.
- You can interact with SirixDB from an application over the network by starting the SirixDB HTTP-Server and making requests.

For the web front-end we have to write unit, integration and end-to-end tests. For SirixDB core, xquery module and the HTTP-Server we have tests 🙂

---

<div class="post-metadata">

**Author:** ![tashachin](https://yyz2.discourse-cdn.com/free1/user_avatar/sirix.discourse.group/tashachin/32/32_2.png) [@tashachin](https://sirix.discourse.group/u/tashachin)\
**Post date:** [December 16, 2019, 6:58pm UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/6 "2019-12-16T18:58:43Z")

</div>

@johannes

Oh, that’s what you mean! 😃

I think the web front-end would be my strong suit. Has it been started yet, and if so, how would I navigate to it? Is there a guide to deploying it at all yet?

Sorry for all the questions! I’m just trying to get a better sense for the scope of this project, especially since the most I’ve ever done is a basic video game review web application.

Thanks!

---

<div class="post-metadata">

**Author:** ![johannes](https://yyz2.discourse-cdn.com/free1/user_avatar/sirix.discourse.group/johannes/32/7_2.png) [@johannes](https://sirix.discourse.group/u/johannes)\
**Post date:** [December 16, 2019, 7:01pm UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/7 "2019-12-16T19:01:10Z")

</div>

[https://github.com/sirixdb/sirix-web-frontend](https://github.com/sirixdb/sirix-web-frontend) This is the repository and it has a `README`. Let us know if this helps to get it up and running 🙂

---

<div class="post-metadata">

**Author:** ![JanBucko](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@JanBucko](https://sirix.discourse.group/u/JanBucko)\
**Post date:** [October 8, 2020, 10:50pm UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/8 "2020-10-08T22:50:41Z")

</div>

@Johannes Hello, I am having issues running your example codes locally using gradle 6.6.1 on Windows and IntelliJIdea, could You give me some guide please ? I have tried building the parrent project, aswell as the core project separately using graddle wrapper but most of the tests end with Java.nio.FileSystemException, inspecting further log details said there was : “EXCEPTION\_ACCESS\_VIOLATION”, attempting to start the main after using gradlew.bat throws linkage error - process java.exe finished with value 1

---

<div class="post-metadata">

**Author:** ![johannes](https://yyz2.discourse-cdn.com/free1/user_avatar/sirix.discourse.group/johannes/32/7_2.png) [@johannes](https://sirix.discourse.group/u/johannes)\
**Post date:** [October 10, 2020, 10:25am UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/9 "2020-10-10T10:25:41Z")

</div>

Hi, do you use Java 14? I usually simply run the tests within IntelliJ, but it should be no problem to execute these with Gradle on the command line.

---

<div class="post-metadata">

**Author:** ![JanBucko](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@JanBucko](https://sirix.discourse.group/u/JanBucko)\
**Post date:** [October 10, 2020, 10:51am UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/10 "2020-10-10T10:51:04Z")

</div>

Hello, yes I made myself sure several times the oracle JDK 14 is isntalled and being used, what I am trying to accomplish is to run (for example) io.sirix.tutorial.json.CreateJsonDatabase, I am using gradle build over the parrent project but this method fails at several tests, saying that some resources are being used by other process (which I made myself sure is not by restarting machine several times or deleting the resorces so they have to be generated again), or there are some illegal memory access isues, so I use gradle build -x test which finishes successfuly but then when I try to run the main form Idea I get linkage error saying that java.exe finished wrong, is this the supposed way to run those codes ?

---

<div class="post-metadata">

**Author:** ![johannes](https://yyz2.discourse-cdn.com/free1/user_avatar/sirix.discourse.group/johannes/32/7_2.png) [@johannes](https://sirix.discourse.group/u/johannes)\
**Post date:** [October 10, 2020, 12:01pm UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/11 "2020-10-10T12:01:44Z")

</div>

Are you on Windows? You can try to set in the class `ResourceConfiguration` `private static final StorageType STORAGE = StorageType.MEMORY_MAPPED;` to `StorageType.FILE`

---

<div class="post-metadata">

**Author:** ![JanBucko](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@JanBucko](https://sirix.discourse.group/u/JanBucko)\
**Post date:** [October 10, 2020, 5:18pm UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/12 "2020-10-10T17:18:38Z")

</div>

Hello, thank you for your time and response, it helped but sadly I was still not able to run the main method so I guess I am giving up on my issue. I shall write this allso to github.

---

<div class="post-metadata">

**Author:** ![Stredsto](https://yyz2.discourse-cdn.com/free1/user_avatar/sirix.discourse.group/stredsto/32/53_2.png) [@Stredsto](https://sirix.discourse.group/u/Stredsto)\
**Post date:** [March 27, 2024, 12:58pm UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/14 "2024-03-27T12:58:11Z")

</div>

Hello @johannes  
I am new to this and trying to contribute on a issue,  
I’m getting errors on running the Main file here

Error: LinkageError occurred while loading main class io.sirix.query.Main  
java.lang.UnsupportedClassVersionError: Preview features are not enabled for io/sirix/query/Main (class file version 65.65535). Try running with ‘–enable-preview’

Using Java 21  
and Gradle : 8.7

Anything, or its just my system conflicts that’s causing this?

---

<div class="post-metadata">

**Author:** ![Jojo](https://yyz2.discourse-cdn.com/free1/user_avatar/sirix.discourse.group/jojo/32/6_2.png) [@Jojo](https://sirix.discourse.group/u/Jojo)\
**Post date:** [March 27, 2024, 8:17pm UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/15 "2024-03-27T20:17:49Z")

</div>

Copy the JVM flags in build.gradle in the parent (used for the tests for instance). Or copy the flags from here: [SirixDB - Using the Java CLI via JSONiq queries](https://sirix.io/docs/jsoniq-tutorial.html)

HTH  
Johannes

---

<div class="post-metadata">

**Author:** ![Stredsto](https://yyz2.discourse-cdn.com/free1/user_avatar/sirix.discourse.group/stredsto/32/53_2.png) [@Stredsto](https://sirix.discourse.group/u/Stredsto)\
**Post date:** [March 28, 2024, 5:12am UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/16 "2024-03-28T05:12:56Z")

</div>

Thanks for the response @johannes.  
I’ll try it today evening.  
One more, how do I get access to docker images.

---

<div class="post-metadata">

**Author:** ![Jojo](https://yyz2.discourse-cdn.com/free1/user_avatar/sirix.discourse.group/jojo/32/6_2.png) [@Jojo](https://sirix.discourse.group/u/Jojo)\
**Post date:** [March 28, 2024, 3:29pm UTC](https://sirix.discourse.group/t/what-do-you-need-to-get-started/22/17 "2024-03-28T15:29:04Z")

</div>

You can find an image on dockerhub.

Kind regards  
Johannes
