diff --git a/build.xml b/build.xml
index 0ba8471f..ecbffc97 100644
--- a/build.xml
+++ b/build.xml
@@ -344,11 +344,8 @@
-
-
-
-
+
diff --git a/installer/app/filebot.sh b/installer/app/filebot.sh
index 6a7f3e6c..91b34174 100755
--- a/installer/app/filebot.sh
+++ b/installer/app/filebot.sh
@@ -15,7 +15,7 @@ done
# get canonical path
BIN=`dirname "$PRG"`
FILEBOT_HOME=`cd "$BIN/.." && pwd`
-JAVA_HOME="$FILEBOT_HOME/PlugIns/jdk-@{jre.version}.jdk/Contents/Home"
+JAVA_HOME="$FILEBOT_HOME/PlugIns/openjdk.jre/Contents/Home"
# select application data folder
APP_DATA="$HOME/.filebot"
diff --git a/installer/pkg/filebot.sh b/installer/pkg/filebot.sh
index c73b16f9..30d80968 100755
--- a/installer/pkg/filebot.sh
+++ b/installer/pkg/filebot.sh
@@ -1,6 +1,6 @@
#!/bin/sh
FILEBOT_HOME="/Applications/FileBot.app/Contents"
-JAVA_HOME="$FILEBOT_HOME/PlugIns/jdk-@{jre.version}.jdk/Contents/Home"
+JAVA_HOME="$FILEBOT_HOME/PlugIns/openjdk.jre/Contents/Home"
# select application data folder
APP_DATA="$HOME/.filebot"