diff --git a/tools/demobench/package/linux/DemoBench.spec b/tools/demobench/package/linux/DemoBench.spec index 6162007b2e..48b2f3c9f1 100644 --- a/tools/demobench/package/linux/DemoBench.spec +++ b/tools/demobench/package/linux/DemoBench.spec @@ -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