Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Use Java ver 8 as source and target version (#2130)
Browse files Browse the repository at this point in the history
* Use Java ver 8 as source and target version

Signed-off-by: Ali Ahmed <[email protected]>

* Use Java ver 8 as source and target version

Signed-off-by: Ali Ahmed <[email protected]>

* Use Java ver 8 as source and target version

Signed-off-by: Ali Ahmed <[email protected]>
  • Loading branch information
aahmed-se authored and billonahill committed Jul 31, 2017
1 parent 18d6cab commit 22cd815
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tools/java/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ package(default_visibility = ["//visibility:public"])
java_toolchain(
name = "heron_java_toolchain",
encoding = "UTF-8",
source_version = "7",
target_version = "7",
source_version = "8",
target_version = "8",
bootclasspath = ["@bazel_tools//tools/jdk:bootclasspath"],
extclasspath = ["@bazel_tools//tools/jdk:extdir"],
javac = ["@bazel_tools//third_party/java/jdk/langtools:javac_jar"],
Expand Down
7 changes: 3 additions & 4 deletions website/content/docs/developers/compiling/compiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ You must have the following installed to compile Heron:
* [Bazel](http://bazel.io/docs/install.html) = {{% bazelVersion %}}. Later
versions might work but have not been tested. See [Installing Bazel]({{< ref
"#installing-bazel" >}}) below.
* [Java
8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
is required by Bazel but Heron does not use Java 8 features; Heron
* [Java 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
is required by Bazel and Heron;
[topologies](../../../concepts/topologies) can be written in Java 7 or above
and all Heron jars are compatible with Java 7.
, but Heron jars are required to run with a Java 8 JRE.
* [Autoconf](http://www.gnu.org/software/autoconf/autoconf.html) >=
2.6.3
* [Automake](https://www.gnu.org/software/automake/) >= 1.11.1
Expand Down

0 comments on commit 22cd815

Please sign in to comment.