Skip to content

Commit 5ae3cfa

Browse files
committed
Mention Java 8 requirement
Specify dependency on Java 8 in README.md Using Java 7, results in this error: [error] src/main/scala/codecheck/github/api/GitHubAPI.scala:8: object Base64 is not a member of package java.util [error] import java.util.Base64 [error] ^
1 parent 1bfb394 commit 5ae3cfa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ cd github-api
1919
sbt test
2020
```
2121

22+
Currently, Java 8 is required to build this library. If you have
23+
multiple versions of Java installed on your system, set it to Java 8
24+
(also known as version 1.8). One method for choosing the Java version
25+
is to override the value of `JAVA_HOME` in the environment sbt runs.
26+
27+
```
28+
$ env JAVA_HOME="$(/usr/libexec/java_home -v 1.8)" sbt
29+
```
30+
2231
## About models
2332
We don't aim to define all fields of JSON.
2433
Because these are too much and might be changed by GitHub.

0 commit comments

Comments
 (0)