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: README.md
+22-3Lines changed: 22 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,31 @@ The goal is to create a REST API using Spring Boot and a corresponding Docker im
6
6
Follow the instructions below and try to use GitHub Copilot as much as possible.
7
7
Try different things and see what GitHub Copilot can do for you, like generating a Dockerfile or a class, add comments, etc.
8
8
9
-
> Make sure GitHub Copilot is configure and enabled for the current laguage, just check the status bar on the bottom right corner of VS Code.
10
-
11
-
> If you are running this exercise in local environment, please make sure JDK 18 and above is installed.
9
+
## Pre-requisites
10
+
> Make sure GitHub Copilot is configured and enabled for the current laguage, just check the status bar on the bottom right corner of VS Code.
12
11
13
12
> If you are running this exercise in GitHub Codespaces, the java environment is already setup.
14
13
14
+
> If you are running this exercise in local environment, please make sure that:
15
+
- JDK 18 and above is installed. If not installed already, please download from: https://www.oracle.com/au/java/technologies/downloads/
16
+
- The environment variable for 'JAVA_HOME' is set. If not, please do one of the following:
17
+
-**Windows 7** – Right click My Computer and select Properties > Advanced
18
+
-**Windows 8** – Go to Control Panel > System > Advanced System Settings
19
+
-**Windows 10** – Search for Environment Variables then select Edit the system environment variables
20
+
- Click the **Environment Variables** button.
21
+
- Under **System Variables**, click **New**.
22
+
- In the **Variable Name** field, enter either:
23
+
-*JAVA_HOME* if you installed the JDK (Java Development Kit)
24
+
or
25
+
-*JRE_HOME* if you installed the JRE (Java Runtime Environment)
26
+
- In the **Variable** Value field, enter your JDK or JRE installation path.
27
+

28
+
- Click **OK** and **Apply** Changes as prompted
29
+
30
+
> You may need to close and re-open any command windows that were open before you made these changes, as there's no way to reload environment variables from an active command prompt. If the changes don't take effect after reopening the command window, restart Windows.
31
+
32
+
33
+
15
34
## Instructions
16
35
17
36
The `copilot-demo` folder contains the Maven project and Maven installer.
0 commit comments