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

Use Java ver 8 as source and target version #2130

Merged
merged 3 commits into from Jul 31, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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