Skip to content

Commit feae190

Browse files
authored
Merge pull request #884 from stokito/install4j
SPARK-2346 make default-jre or any other JRE for Linux Deb
2 parents 9476333 + 8dc2976 commit feae190

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

distribution/src/installer/spark.install4j

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</files>
3535
<launchers>
3636
<launcher name="Spark" id="4" icnsFile="images/message.icns">
37-
<executable name="Spark" iconSet="true" iconFile="images/spark.ico" executableDir="." stderrFile="logs/error.log" redirectStdout="true" stdoutFile="logs/output.log" executableMode="gui" singleInstance="true" serviceDescription="communicator" dpiAware="false">
37+
<executable name="Spark" iconSet="true" iconFile="images/spark.ico" executableDir="." redirectStderr="false" executableMode="gui" singleInstance="true" serviceDescription="communicator" dpiAware="false">
3838
<versionInfo include="true" fileDescription="${compiler:sys.shortName}" legalCopyright="${compiler:sys.publisher}" internalName="${compiler:sys.shortName}" />
3939
</executable>
4040
<java mainClass="org.jivesoftware.launcher.Startup" vmParameters="&quot;-Dappdir=${launcher:sys.launcherDirectory}&quot; -Dsun.java2d.noddraw=true &quot;-Djava.library.path=${launcher:sys.launcherDirectory}\lib\windows&quot;" preferredVM="client">
@@ -844,7 +844,7 @@ return console.askYesNo(message, true);
844844
</exclude>
845845
<jreBundle jreBundleSource="none" />
846846
</linuxRPM>
847-
<linuxDeb name="Linux Deb Archive" id="166" dependencies="default-jre">
847+
<linuxDeb name="Linux Deb Archive" id="166" dependencies="default-jre | java-runtime (&gt;= 8)">
848848
<exclude>
849849
<entry location="bin/startup.bat" />
850850
<entry location="documentation" />

0 commit comments

Comments
 (0)