summarylogtreecommitdiffstats
path: root/always_use_java-8-jdk.patch
diff options
context:
space:
mode:
Diffstat (limited to 'always_use_java-8-jdk.patch')
-rw-r--r--always_use_java-8-jdk.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/always_use_java-8-jdk.patch b/always_use_java-8-jdk.patch
new file mode 100644
index 000000000000..2931d7f93569
--- /dev/null
+++ b/always_use_java-8-jdk.patch
@@ -0,0 +1,12 @@
+--- a/build/linux/processing 2020-01-17 17:20:35.000000000 +0100
++++ b/build/linux/processing 2020-06-13 14:02:40.924929084 +0200
+@@ -13,6 +13,9 @@
+ # Thanks to Ferdinand Kasper for this build script. [fry]
+
+
++# Always use Oracle's JDK to run processing
++PATH="/usr/lib/jvm/java-8-jdk/bin/:$PATH"
++
+ # JARs required from JDK (anywhere in/below the JDK home directory)
+ JDKLIBS="rt.jar"
+