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
* pr/2188:
Polish "Fix Java version mismatch and clarify Gradle usage in readme"
Fix Java version mismatch and clarify Gradle usage in readme
Closes gh-2188
Copy file name to clipboardExpand all lines: README.md
+15-12Lines changed: 15 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,28 +14,31 @@ See the presentation here:
14
14
## Run Petclinic locally
15
15
16
16
Spring Petclinic is a [Spring Boot](https://spring.io/guides/gs/spring-boot) application built using [Maven](https://spring.io/guides/gs/maven/) or [Gradle](https://spring.io/guides/gs/gradle/).
17
-
Java 17 or later is required for the build, and the application can run with Java 17 or newer:
17
+
Java 17 or later is required for the build, and the application can run with Java 17 or newer.
Or you can run it from Maven directly using the Spring Boot Maven plugin. If you do this, it will pick up changes that you make in the project immediately (changes to Java source files require a compile as well - most people use an IDE for this):
33
-
34
-
```bash
35
-
./mvnw spring-boot:run
36
-
```
37
-
38
-
> NOTE: If you prefer to use Gradle, you can build the app using `./gradlew build` and look for the jar file in `build/libs`.
40
+
You can, of course, run Petclinic in your favorite IDE.
41
+
See below for more details.
39
42
40
43
## Building a Container
41
44
@@ -98,7 +101,7 @@ There is a `petclinic.css` in `src/main/resources/static/resources/css`. It was
98
101
99
102
The following items should be installed in your system:
100
103
101
-
- Java 25 or newer (full JDK, not a JRE)
104
+
- Java 17 or newer (full JDK, not a JRE)
102
105
-[Git command line tool](https://help.github.com/articles/set-up-git)
103
106
- Your preferred IDE
104
107
- Eclipse with the m2e plugin. Note: when m2e is available, there is a m2 icon in `Help -> About` dialog. If m2e is
0 commit comments