Skip to content

Commit 3883b26

Browse files
committed
Update README.md
1 parent b75ed32 commit 3883b26

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

README.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ As of August 2022, we migrated our build workflow to `Gradle`. While migrating t
3030

3131
## Quick Start Guide
3232

33-
SPF requires: **Java 11** and **Gradle 8.4**.
33+
SPF requires: **Java 8** and **Gradle 6.9**.
3434

3535
### 1. Get the latest SPF version
3636
```{bash}
@@ -72,10 +72,10 @@ Submodule path 'jpf-core': checked out '45a4450cd0bd1193df5419f7c9d9b89807d00db6
7272
cd SPF
7373
gradle :jpf-core:buildJars
7474
```
75-
If using a gradle version > 8.4, you can point gradle to the Java 11 home on your machine. You need to specify that for all gradle commands blow. For example:
75+
If using a gradle version > 6.9, you can point gradle to the Java 8 home on your machine. You need to specify that for all gradle commands blow. For example:
7676

7777
```{bash}
78-
gradle :jpf-core:buildJars -Dorg.gradle.java.home=/usr/lib/jvm/java-11-openjdk-amd64
78+
gradle :jpf-core:buildJars -Dorg.gradle.java.home=/usr/lib/jvm/java-8-openjdk-amd64
7979
```
8080
<details>
8181
<summary>Console Output</summary>
@@ -183,9 +183,9 @@ Note: Some input files use unchecked or unsafe operations.
183183
Note: Recompile with -Xlint:unchecked for details.
184184
4 warnings
185185
186-
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
186+
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
187187
Use '--warning-mode all' to show the individual deprecation warnings.
188-
See https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings
188+
See https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings
189189
190190
BUILD SUCCESSFUL in 6s
191191
15 actionable tasks: 15 executed
@@ -212,9 +212,9 @@ Note: Recompile with -Xlint:unchecked for details.
212212
Note: Some input files use unchecked or unsafe operations.
213213
Note: Recompile with -Xlint:unchecked for details.
214214
215-
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
215+
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
216216
Use '--warning-mode all' to show the individual deprecation warnings.
217-
See https://docs.gradle.org/8.4.2/userguide/command_line_interface.html#sec:command_line_warnings
217+
See https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings
218218
219219
BUILD SUCCESSFUL in 7s
220220
12 actionable tasks: 12 executed
@@ -329,7 +329,7 @@ Make sure you have the JDK installed, otherwise there is no javac compiler avail
329329
In order to build JPF from a Windows Command Prompt, you have to set the `JAVA_HOME` environment variable.
330330

331331
### Java specifics for macOS
332-
To switch to Java 11 on macOS, we recommend the following blog post: [https://medium.com/@devkosal/switching-java-jdk-versions-on-macos-80bc868e686a](https://medium.com/@devkosal/switching-java-jdk-versions-on-macos-80bc868e686a).
332+
To switch to Java 8 on macOS, we recommend the following blog post: [https://medium.com/@devkosal/switching-java-jdk-versions-on-macos-80bc868e686a](https://medium.com/@devkosal/switching-java-jdk-versions-on-macos-80bc868e686a).
333333

334334
### Gradle (Build Automation Tool)
335335

@@ -340,7 +340,7 @@ You can check your Gradle version by executing the following command in the comm
340340
```{bash}
341341
> gradle -version
342342
------------------------------------------------------------
343-
Gradle 8.4.1
343+
Gradle 6.9.2
344344
------------------------------------------------------------
345345
346346
Build time: 2021-12-21 20:18:38 UTC
@@ -362,7 +362,7 @@ Note that all major IDEs (e.g., Netbeans, Eclipse, IntelliJ) come with Gradle su
362362

363363
SPF sources are kept in its main repository [https://github.com/SymbolicPathFinder/jpf-symbc](https://github.com/SymbolicPathFinder/jpf-symbc) within the [Symbolic PathFinder](https://github.com/SymbolicPathFinder) organization. There are two stable branches in our repository:
364364

365-
1. `ant-build`: It provides Java 11 support using the [Ant Build system](https://ant.apache.org).
365+
1. `ant-build`: It provides Java 8 support using the [Ant Build system](https://ant.apache.org).
366366
2. `master`: Contains the latest stable version of our repository. In this version of SPF, we have introduced jpf-core as a git-submodule.
367367

368368
If you want to keep using Ant, consider using the `ant-build` branch. The branch `master` uses Gradle. To check out the SPF, it is recommended to fork the repository. Contributions are welcome, and we invite you to explore our [Java Pathfinder Google Group](https://groups.google.com/g/java-pathfinder). We also encourage you to check the following GitHub guides to familiarize yourself with the GitHub development workflow:
@@ -406,11 +406,11 @@ Submodule path 'jpf-core': checked out '45a4450cd0bd1193df5419f7c9d9b89807d00db6
406406

407407
### Building SPF using the Command Line
408408

409-
Requirements: **Java 11** and **Gradle 8.4**.
409+
Requirements: **Java 8** and **Gradle 6.9**.
410410

411411
**Note:**
412412

413-
* On Ubuntu, the `command apt-get install gradle` seems to install an older version of gradle (version 2.x) which is incompatible with the project and causes unzipping errors. Hence, it is recommended to visit the [Official Gradle installation guide](https://docs.gradle.org/8.4/userguide/installation.html) for installing the 8.4 version of gradle.
413+
* On Ubuntu, the `command apt-get install gradle` seems to install an older version of gradle (version 2.x) which is incompatible with the project and causes unzipping errors. Hence, it is recommended to visit the [Official Gradle installation guide](https://docs.gradle.org/6.9/userguide/installation.html) for installing the 6.9 version of gradle.
414414

415415
* Instead of using the `gradle` command, you may want to use the gradle wrapper `gradlew` instead. The SPF repository includes a Gradle wrapper that requires nothing except Java to execute. It ensures that all JPF developers and environments use the same builder to avoid any kind of configuration issue.
416416

@@ -526,9 +526,9 @@ Note: Some input files use unchecked or unsafe operations.
526526
Note: Recompile with -Xlint:unchecked for details.
527527
4 warnings
528528
529-
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
529+
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
530530
Use '--warning-mode all' to show the individual deprecation warnings.
531-
See https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings
531+
See https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings
532532
533533
BUILD SUCCESSFUL in 6s
534534
15 actionable tasks: 15 executed
@@ -556,9 +556,9 @@ Note: Recompile with -Xlint:unchecked for details.
556556
Note: Some input files use unchecked or unsafe operations.
557557
Note: Recompile with -Xlint:unchecked for details.
558558
559-
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
559+
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
560560
Use '--warning-mode all' to show the individual deprecation warnings.
561-
See https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings
561+
See https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings
562562
563563
BUILD SUCCESSFUL in 7s
564564
12 actionable tasks: 12 executed
@@ -573,9 +573,9 @@ BUILD SUCCESSFUL in 7s
573573
jpf-core
574574
jpf-symbc
575575
576-
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
576+
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
577577
Use '--warning-mode all' to show the individual deprecation warnings.
578-
See https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings
578+
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
579579
580580
BUILD SUCCESSFUL in 2s
581581
15 actionable tasks: 2 executed, 13 up-to-date
@@ -592,9 +592,9 @@ BUILD SUCCESSFUL in 7s
592592
Note: Some input files use unchecked or unsafe operations.
593593
Note: Recompile with -Xlint:unchecked for details.
594594
595-
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
595+
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
596596
Use '--warning-mode all' to show the individual deprecation warnings.
597-
See https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings
597+
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
598598
599599
BUILD SUCCESSFUL in 20s
600600
12 actionable tasks: 12 executed
@@ -684,9 +684,9 @@ gov.nasa.jpf.symbc.TestSwitch > mainTest PASSED
684684
Test Execution: SUCCESS
685685
Summary: 24 tests, 24 passed, 0 failed, 0 skipped
686686
687-
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
687+
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
688688
Use '--warning-mode all' to show the individual deprecation warnings.
689-
See https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings
689+
See https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings
690690
691691
BUILD SUCCESSFUL in 21s
692692
13 actionable tasks: 6 executed, 7 up-to-date
@@ -1133,9 +1133,9 @@ Use 'docker scan' to run Snyk tests against images to find vulnerabilities and l
11331133
Note: Recompile with -Xlint:unchecked for details.
11341134
4 warnings
11351135
1136-
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
1136+
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
11371137
Use '--warning-mode all' to show the individual deprecation warnings.
1138-
See https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings
1138+
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
11391139
11401140
BUILD SUCCESSFUL in 23s
11411141
15 actionable tasks: 15 executed
@@ -1154,9 +1154,9 @@ Use 'docker scan' to run Snyk tests against images to find vulnerabilities and l
11541154
Note: Some input files use unchecked or unsafe operations.
11551155
Note: Recompile with -Xlint:unchecked for details.
11561156
1157-
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
1157+
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
11581158
Use '--warning-mode all' to show the individual deprecation warnings.
1159-
See https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings
1159+
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
11601160
11611161
BUILD SUCCESSFUL in 35s
11621162
12 actionable tasks: 12 executed
@@ -1216,9 +1216,9 @@ Use 'docker scan' to run Snyk tests against images to find vulnerabilities and l
12161216
Test Execution: SUCCESS
12171217
Summary: 24 tests, 24 passed, 0 failed, 0 skipped
12181218
1219-
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
1219+
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
12201220
Use '--warning-mode all' to show the individual deprecation warnings.
1221-
See https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings
1221+
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
12221222
12231223
BUILD SUCCESSFUL in 9s
12241224
13 actionable tasks: 6 executed, 7 up-to-date

0 commit comments

Comments
 (0)