dist: use OpenJDK-7 on CentOS

This commit is contained in:
Takuya ASADA 2015-10-26 23:41:16 +09:00
parent a707b487f0
commit a2ad9bb221
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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