Skip to content

Commit

Permalink
updating readme for instructions about how to clone a branch with a r…
Browse files Browse the repository at this point in the history
…ecursive module and also about how to specify Java 8 for gradle's JVM for gradle versions > 6.9 (#93)
  • Loading branch information
sohah authored May 24, 2024
1 parent 134c05e commit d025f1d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,14 @@ SPF requires: **Java 8** and **Gradle 6.9**.

### 1. Get the latest SPF version
```{bash}
git clone --recurse-submodules git@github.com:SymbolicPathFinder/jpf-symbc.git
git clone --recurse-submodules git@github.com:SymbolicPathFinder/jpf-symbc.git SPF
```

If cloning from the `gradle-build` branch then specify that branch in the clone command
```{bash}
git clone -b gradle-build --recurse-submodules git@github.com:SymbolicPathFinder/jpf-symbc.git SPF
```

<details>
<summary>Console Output</summary>

Expand Down Expand Up @@ -66,6 +72,11 @@ Submodule path 'jpf-core': checked out '45a4450cd0bd1193df5419f7c9d9b89807d00db6
cd SPF
gradle :jpf-core:buildJars
```
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:

```{bash}
gradle :jpf-core:buildJars -Dorg.gradle.java.home=/usr/lib/jvm/java-8-openjdk-amd64
```
<details>
<summary>Console Output</summary>

Expand Down

0 comments on commit d025f1d

Please sign in to comment.