Skip to content

Commit bad1cfa

Browse files
committed
Use JRE that comes with with MQ on ARM
1 parent bddb9bf commit bad1cfa

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

install-mq-server-prereqs.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# -*- mode: sh -*-
3-
# © Copyright IBM Corporation 2015, 2022
3+
# © Copyright IBM Corporation 2015, 2023
44
#
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -42,21 +42,12 @@ if ($UBUNTU); then
4242
echo "deb ${APT_URL} ${UBUNTU_CODENAME}-security main restricted" >> /etc/apt/sources.list
4343
# Install additional packages required by MQ, this install process and the runtime scripts
4444
EXTRA_DEBS="bash bc ca-certificates coreutils curl debianutils file findutils gawk grep libc-bin mount passwd procps sed tar util-linux"
45-
# On ARM CPUs, there is no IBM JRE, so install another one
46-
if [ "${CPU_ARCH}" == "aarch64" ]; then
47-
EXTRA_DEBS="${EXTRA_DEBS} openjdk-8-jre"
48-
fi
4945
apt-get update
5046
apt-get install -y --no-install-recommends ${EXTRA_DEBS}
5147
fi
5248

5349
if ($RPM); then
5450
EXTRA_RPMS="bash bc ca-certificates file findutils gawk glibc-common grep ncurses-compat-libs passwd procps-ng sed shadow-utils tar util-linux which"
55-
# On ARM CPUs, there is no IBM JRE, so install another one
56-
if [ "${CPU_ARCH}" == "aarch64" ]; then
57-
EXTRA_RPMS="${EXTRA_RPMS} java-1.8.0-openjdk-headless"
58-
fi
59-
6051
# Install additional packages required by MQ, this install process and the runtime scripts
6152
$YUM && yum -y install --setopt install_weak_deps=false ${EXTRA_RPMS}
6253
$MICRODNF && microdnf --disableplugin=subscription-manager install ${EXTRA_RPMS}

0 commit comments

Comments
 (0)