* experiment with embedding the JRE for the Ubuntu Software Center

This commit is contained in:
Reinhard Pointner 2014-07-29 11:21:15 +00:00
parent 4a1e2fe35b
commit 3fea6a21de
2 changed files with 8 additions and 1 deletions

View File

@ -318,6 +318,10 @@
<tarfileset prefix="amd64/opt/filebot/bin" file="${dir.installer}/ubuntu/filebot.sh" filemode="755" />
<tarfileset fullpath="filebot.desktop" file="${dir.installer}/ubuntu/FileBot.desktop" />
<tarfileset fullpath="filebot.svg" file="${dir.installer}/icons/icon.svg" />
<!-- Include Java 8 JRE -->
<tarfileset prefix="i686/opt/filebot/jre" dir="${basedir}/jre/jdk-8u11-linux-i586/jdk1.8.0_11/jre" />
<tarfileset prefix="amd64/opt/filebot/jre" dir="${basedir}/jre/jdk-8u11-linux-amd64/jdk1.8.0_11/jre" />
</tar>
</target>

View File

@ -1,2 +1,5 @@
#!/bin/bash
java -Dunixfs=false -DuseGVFS=true -DuseExtendedFileAttributes=true -DuseCreationDate=false -Djava.net.useSystemProxies=true -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Djna.nosys=true -Dapplication.update=skip -Dapplication.deployment=usc -Dapplication.analytics=false -Dapplication.dir=$HOME/.filebot -Djava.io.tmpdir=$HOME/.filebot/temp -Djna.library.path=/opt/filebot -Djava.library.path=/opt/filebot -Dnet.filebot.AcoustID.fpcalc=fpcalc -jar /opt/filebot/FileBot.jar "$@"
APP_ROOT="/opt/filebot"
JAVA_CMD="$APP_ROOT/jre/bin/java"
$JAVA_CMD -Dunixfs=false -DuseGVFS=true -DuseExtendedFileAttributes=true -DuseCreationDate=false -Djava.net.useSystemProxies=true -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Djna.nosys=true -Dapplication.update=skip -Dapplication.deployment=usc -Dapplication.analytics=false -Dnet.filebot.UserFiles.fileChooser=JavaFX "-Dapplication.dir=$HOME/.filebot" "-Djava.io.tmpdir=$HOME/.filebot/temp" "-Djna.library.path=$APP_ROOT" "-Djava.library.path=$APP_ROOT" "-Dnet.filebot.AcoustID.fpcalc=$APP_ROOT/fpcalc" -jar "$APP_ROOT/FileBot.jar" "$@"