# Step 2 of the contributors guide fails: Set up the build system: JDK and Gradle

**URL:** <https://discourse.jabref.org/t/step-2-of-the-contributors-guide-fails-set-up-the-build-system-jdk-and-gradle/4364>\
**Category:** Help\
**Created:** [June 19, 2024, 9:03am UTC](https://discourse.jabref.org/t/step-2-of-the-contributors-guide-fails-set-up-the-build-system-jdk-and-gradle/4364 "2024-06-19T09:03:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Endre\_Palatinus](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/endre_palatinus/32/1919_2.png) [@Endre\_Palatinus](https://discourse.jabref.org/u/Endre_Palatinus)\
**Post date:** [June 19, 2024, 9:03am UTC](https://discourse.jabref.org/t/step-2-of-the-contributors-guide-fails-set-up-the-build-system-jdk-and-gradle/4364/1 "2024-06-19T09:03:30Z")

</div>

Hi there,  
I am new to Jabref, and wanted to pick up an issue and set up my local workspace to get started. I got stuck at Step 2 of the guide:  
[https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-12-build.html#configure-the-build-system](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-12-build.html#configure-the-build-system)  
However, no modules show up on the list for me, and I can only add a single model “Jabref” to the list, as opposed to three modules already showing up in the guide.  
This also makes the gradle build fail later in the guide.  
Can someone update the guide to match the current grade setup, or guide me on how to overcome this issue?

---

<div class="post-metadata">

**Author:** ![Siedlerchr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/siedlerchr/32/216_2.png) [@Siedlerchr](https://discourse.jabref.org/u/Siedlerchr)\
**Post date:** [June 19, 2024, 9:50am UTC](https://discourse.jabref.org/t/step-2-of-the-contributors-guide-fails-set-up-the-build-system-jdk-and-gradle/4364/2 "2024-06-19T09:50:38Z")

</div>

@koppor@calixtus can you check?

---

<div class="post-metadata">

**Author:** ![InAnYan](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/inanyan/32/1845_2.png) [@InAnYan](https://discourse.jabref.org/u/InAnYan)\
**Post date:** [June 19, 2024, 10:24am UTC](https://discourse.jabref.org/t/step-2-of-the-contributors-guide-fails-set-up-the-build-system-jdk-and-gradle/4364/3 "2024-06-19T10:24:45Z")

</div>

You can’t override compiler parameters for `JabRef.main` module, right?

---

<div class="post-metadata">

**Author:** ![Endre\_Palatinus](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/endre_palatinus/32/1919_2.png) [@Endre\_Palatinus](https://discourse.jabref.org/u/Endre_Palatinus)\
**Post date:** [June 19, 2024, 10:40am UTC](https://discourse.jabref.org/t/step-2-of-the-contributors-guide-fails-set-up-the-build-system-jdk-and-gradle/4364/4 "2024-06-19T10:40:54Z")

</div>

Actually, no modules are present when I import the project into IntelliJ. Later on, I can only add the JabRef module, not the JobRef.main module. Thus, I cannot set the compiler parameters for the JabRef.main module, as it is not visible to IntelliJ.

---

<div class="post-metadata">

**Author:** ![subhramit](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/subhramit/32/2246_2.png) [@subhramit](https://discourse.jabref.org/u/subhramit)\
**Post date:** [June 19, 2024, 10:46am UTC](https://discourse.jabref.org/t/step-2-of-the-contributors-guide-fails-set-up-the-build-system-jdk-and-gradle/4364/5 "2024-06-19T10:46:17Z")

</div>

Hi Endre. Did you follow step 1 to the word? Like opening the project using `build.gradle`?

---

<div class="post-metadata">

**Author:** ![Endre\_Palatinus](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/endre_palatinus/32/1919_2.png) [@Endre\_Palatinus](https://discourse.jabref.org/u/Endre_Palatinus)\
**Post date:** [June 19, 2024, 11:02am UTC](https://discourse.jabref.org/t/step-2-of-the-contributors-guide-fails-set-up-the-build-system-jdk-and-gradle/4364/6 "2024-06-19T11:02:14Z")

</div>

I did follow Step 1 precisely.  
I have just found out what is missing from the guide. You need to reload the gradle project before going to Step 2, and then those modules will become visible in the settings.  
Maybe something has changed recently in how IntelliJ imports gradle projects. Thus, I think this hint should be included in the guide.

---

<div class="post-metadata">

**Author:** ![Siedlerchr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/siedlerchr/32/216_2.png) [@Siedlerchr](https://discourse.jabref.org/u/Siedlerchr)\
**Post date:** [June 19, 2024, 4:58pm UTC](https://discourse.jabref.org/t/step-2-of-the-contributors-guide-fails-set-up-the-build-system-jdk-and-gradle/4364/7 "2024-06-19T16:58:33Z")

</div>

@Endre_Palatinus Great to here that it’s solved.  
Feel free to modify the guide accordingly [jabref/docs/getting-into-the-code/guidelines-for-setting-up-a-local-workspace at main · JabRef/jabref · GitHub](https://github.com/JabRef/jabref/tree/main/docs/getting-into-the-code/guidelines-for-setting-up-a-local-workspace)

---

<div class="post-metadata">

**Author:** ![koppor](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/koppor/32/5_2.png) [@koppor](https://discourse.jabref.org/u/koppor)\
**Post date:** [June 19, 2024, 6:37pm UTC](https://discourse.jabref.org/t/step-2-of-the-contributors-guide-fails-set-up-the-build-system-jdk-and-gradle/4364/8 "2024-06-19T18:37:13Z")

</div>

@Endre_Palatinus Oh, wow. I didn’t knew. However, I tried to reproduce with a fresh checkout (local clone of the repository into another directory) and I did not have the issue. Maybe, we just need to add “wait until the lower right corner of IntelliJ does not show any activity any more”. Reason: The import and indexing takes more than 10 seconds. If you continue to setup after 3 seconds, the import is not finished.
