dist: use OpenJDK-7 on CentOS
This commit is contained in:
parent
a707b487f0
commit
a2ad9bb221
2
dist/redhat/scripts/jmx_run
vendored
2
dist/redhat/scripts/jmx_run
vendored
@ -2,4 +2,4 @@
|
||||
|
||||
args="-Djava.net.preferIPv4Stack=true -Dcom.sun.management.jmxremote.port=$JMX_LOCAL_PORT -Dcom.sun.management.jmxremote.rmi.port=$JMX_LOCAL_PORT -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
|
||||
|
||||
exec /usr/lib/jvm/jre-1.8.0/bin/java $args -jar /usr/lib/scylla/jmx/urchin-mbean-1.0.jar
|
||||
exec java $args -jar /usr/lib/scylla/jmx/urchin-mbean-1.0.jar
|
||||
|
6
dist/redhat/scylla-jmx.spec.in
vendored
6
dist/redhat/scylla-jmx.spec.in
vendored
@ -9,8 +9,8 @@ URL: http://www.scylladb.com/
|
||||
Source0: %{name}-@@VERSION@@-@@RELEASE@@.tar
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: maven java-1.8.0-openjdk-devel systemd-units
|
||||
Requires: java-1.8.0-openjdk scylla-server
|
||||
BuildRequires: maven systemd-units java-devel
|
||||
Requires: scylla-server java-headless
|
||||
|
||||
%description
|
||||
|
||||
@ -20,7 +20,7 @@ Requires: java-1.8.0-openjdk scylla-server
|
||||
|
||||
|
||||
%build
|
||||
env JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk mvn install
|
||||
mvn install
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
Loading…
Reference in New Issue
Block a user