Skip to content

Commit 5fcebff

Browse files
authored
Install default Java version (dotnet#14)
We should install the default Java version for a given distro, rather than specifically installing `openjdk-7` (which isn't available on Ubuntu 16.04).
1 parent c6f2a98 commit 5fcebff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BuildAgent/SetupScripts/BuildAgentSetup_Ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ echo "Installing libunwind8..."
4242
apt-get install -y libunwind8
4343

4444
echo "Installing Java..."
45-
apt-get install -y openjdk-7-jre-headless unzip
45+
apt-get install -y default-jre-headless unzip
4646

4747
echo "Installing Node.js..."
4848
apt-get install -y nodejs

0 commit comments

Comments
 (0)