Take java executable from JRE.

This commit is contained in:
Chris Rankin 2017-02-09 23:26:47 +00:00
parent 38fb84a96b
commit e966812105

View File

@ -32,7 +32,7 @@ rm -rf %{buildroot}
mkdir -p %{buildroot}/opt
cp -r %{_sourcedir}/DemoBench %{buildroot}/opt
mkdir -p %{buildroot}/opt/DemoBench/runtime/bin
cp %{_javaHome}/bin/java %{buildroot}/opt/DemoBench/runtime/bin
cp %{_javaHome}/jre/bin/java %{buildroot}/opt/DemoBench/runtime/bin
%files