build: linux needs java on GN (#18211)

The linux builds fails with ./bin/sh java not found unless this is installed.
This commit is contained in:
Shelley Vohr 2019-05-08 15:28:55 -07:00 committed by GitHub
parent 6e29611788
commit 8759e30f04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ $ sudo apt-get install build-essential clang libdbus-1-dev libgtk-3-dev \
libnotify-dev libgnome-keyring-dev libgconf2-dev \
libasound2-dev libcap-dev libcups2-dev libxtst-dev \
libxss1 libnss3-dev gcc-multilib g++-multilib curl \
gperf bison python-dbusmock
gperf bison python-dbusmock openjdk-8-jre
```
On RHEL / CentOS, install the following libraries:
@ -43,7 +43,7 @@ On RHEL / CentOS, install the following libraries:
$ sudo yum install clang dbus-devel gtk3-devel libnotify-devel \
libgnome-keyring-devel xorg-x11-server-utils libcap-devel \
cups-devel libXtst-devel alsa-lib-devel libXrandr-devel \
GConf2-devel nss-devel python-dbusmock
GConf2-devel nss-devel python-dbusmock openjdk-8-jre
```
On Fedora, install the following libraries:
@ -52,7 +52,7 @@ On Fedora, install the following libraries:
$ sudo dnf install clang dbus-devel gtk3-devel libnotify-devel \
libgnome-keyring-devel xorg-x11-server-utils libcap-devel \
cups-devel libXtst-devel alsa-lib-devel libXrandr-devel \
GConf2-devel nss-devel python-dbusmock
GConf2-devel nss-devel python-dbusmock openjdk-8-jre
```
Other distributions may offer similar packages for installation via package