You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BUILD.md
+33-20Lines changed: 33 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,21 +4,25 @@ Great to see you are interested in contributing to Processing. To get started yo
4
4
5
5
## IntelliJ IDEA (recommended)
6
6
7
-
First, [download the IntelliJ IDEA Community Edition](https://www.jetbrains.com/idea/download/). Make sure to select the "Community Edition", not "Ultimate". The Community Edition is free and built on open-source software. You may need to scroll down to find the download link.
7
+
_**Note:** A paid subscription is **not** required. Everything needed to build and work on Processing is available for free in IntelliJ IDEA._
8
+
9
+
1.[Download IntelliJ IDEA](https://www.jetbrains.com/idea/download/) and install it.
10
+
1. Clone the `Processing4` repository locally.
11
+
1. Open the cloned repository in **IntelliJ IDEA**.
12
+
1. When prompted, select **Trust Project**. (You can preview the project in Safe Mode, but you will not be able to build Processing.)
13
+
1. If IntelliJ asks whether to import the Gradle project, select **Load Gradle Project**.
14
+
1. Make sure IntelliJ and Gradle are both using **JDK 17**:
15
+
* Go to **`File > Project Structure > Project`**
16
+
* Set **Project SDK** to **JDK 17** (we recommend **Eclipse Temurin**)
17
+
* If needed, choose **Download JDK…** and install **Version 17**
18
+
* Then go to **`Settings > Build, Execution, Deployment > Build Tools > Gradle`**
19
+
* Set **Gradle JVM** to the same **JDK 17**
20
+
1. Wait for Gradle sync to finish.
21
+
1. Click the green **Run** button in the top right to build and launch Processing. You can also use this menu to start a debug session.
8
22
9
23
> [!TIP]
10
24
> If you encounter any issues with this process, Read the [Troubleshooting and Setup Tips for IntelliJ IDEA](#troubleshooting-and-setup-tips-intellij-idea)
11
25
12
-
1. Clone the Processing4 repository to your machine locally
13
-
1. Open the cloned repository in IntelliJ IDEA CE
14
-
1. When prompted, select **Trust Project**. You can preview the project in Safe Mode but you won't be able to build Processing.
15
-
1. IntelliJ may ask if you want to load Gradle project. If you allow this, make sure you are using JDK version 17.
16
-
1. In the main menu, go to File > Project Structure > Project Settings > Project.
17
-
1. In the SDK Dropdown option, select a JDK version 17 or Download the jdk
18
-
1. Click the green Run Icon in the top right of the window. This is also where you can find the option to debug Processing.
19
-
1. Logs can be found in the `Build` or `Debug` pane on the bottom left of the window
20
-
21
-
22
26
## VSCode
23
27
1. Clone the Processing4 repository to your machine locally
24
28
1. Open the cloned repository in VScode
@@ -138,23 +142,32 @@ If you’re building Processing using IntelliJ IDEA and something’s not workin
138
142
139
143
### Use the Correct JDK (temurin-17)
140
144
141
-
Make sure IntelliJ is using **temurin-17**, not another version. Some users have reported issues with ms-17.
145
+
Make sure IntelliJ is using **temurin-17**. Some users have reported issues with other distributions.
146
+
147
+
#### 1. Set the Project SDK
142
148
143
-
1. Go to **File > Project Structure > Project**
144
-
2. Set the **Project SDK** to: `temurin-17 java version "17.0.15"`
0 commit comments