File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,6 +167,15 @@ We assume that you have a Debian/Ubuntu or Red Hat-like distribution.
167167 ```
168168 dnf install java-1.8.0-openjdk-devel maven jq
169169 ```
170+ JBMC requires a Java 8 toolchain in the build shell, but Java 8 does not
171+ need to be the system-wide default JDK. If another JDK is selected by
172+ default, set `JAVA_HOME` to the Java 8 installation and prepend its `bin`
173+ directory to `PATH` for the build. Verify both the runtime and compiler:
174+ ```
175+ java -version
176+ javac -version
177+ ```
178+ Both commands should report version 1.8.
170179
1711802. As a user, get the CBMC source via
172181 ```
@@ -250,6 +259,10 @@ Maven 3 manually.
250259 ```
251260 pkg install openjdk8 wget maven
252261 ```
262+ Java 8 needs only be selected for the build shell, not as the system-wide
263+ default. Set `JAVA_HOME` to the OpenJDK 8 directory and prepend its `bin`
264+ directory to `PATH` if another JDK is selected, then verify with
265+ `java -version` and `javac -version`.
2532662. As a user, get the CBMC source via
254267 ```
255268 git clone https://github.com/diffblue/cbmc cbmc-git
You can’t perform that action at this time.
0 commit comments