Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Commit 7a807f7

Browse files
Louis Yecopybara-github
authored andcommitted
Revert: Update to use Java 8 as default
PiperOrigin-RevId: 311574932 Change-Id: If081155bb77a25d60136aab5b56189bc8781d388
1 parent 3c24aeb commit 7a807f7

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,18 @@ ls cdbg_java_agent_gce.tar.gz
6666
```
6767

6868
Note that the build script assumes some dependencies. To install these
69-
dependencies on Debian, run this command:
69+
dependencies, run this command:
70+
71+
72+
**On Debian 8:**
73+
74+
```shell
75+
sudo apt-get -y -q --no-install-recommends install \
76+
curl gcc build-essential libssl-dev unzip openjdk-7-jdk \
77+
cmake python maven
78+
```
79+
80+
**On Debian 9:**
7081

7182
```shell
7283
sudo apt-get -y -q --no-install-recommends install \

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# The build script assumes some dependencies.
2323
# To install those on Debian, run this command:
2424
# sudo apt-get -y -q --no-install-recommends install \
25-
# curl gcc build-essential libssl-dev unzip openjdk-8-jdk \
25+
# curl gcc build-essential libssl-dev unzip openjdk-7-jdk \
2626
# cmake python maven
2727
#
2828
# The Java Cloud Debugger agent uses glog, gflags and jsoncpp libraries.

src/agent/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ASM_COMMONS_JAR_PATH ?= /usr/lib/asm-8.0/lib/asm-commons-8.0.jar
3838
ASM_UTIL_JAR_PATH ?= /usr/lib/asm-8.0/lib/asm-util-8.0.jar
3939
GOOGLE_API_JAVA_CLIENT_PATH ?= /usr/lib/google-api-java-client
4040
JAVA_BUILD ?= maven
41-
JAVAC=javac -source 1.8 -target 1.8
41+
JAVAC=javac -source 1.7 -target 1.7
4242
BUILD_TARGET_PATH ?= .
4343

4444
OPT_FLAGS = -O3 -D NDEBUG

0 commit comments

Comments
 (0)