void-packages/srcpkgs/dbeaver/patches/force-jdk17.patch

12 lines
458 B
Diff

--- a/product/community/DBeaver.product
+++ b/product/community/DBeaver.product
@@ -9,7 +9,7 @@
</configIni>
<launcherArgs>
- <programArgs></programArgs>
+ <programArgs>-vm /usr/lib/jvm/openjdk17/bin</programArgs>
<programArgsMac>-vm ../Eclipse/jre/Contents/Home/bin/java</programArgsMac>
<vmArgs>-XX:+IgnoreUnrecognizedVMOptions --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=11 -Xms64m -Xmx1024m</vmArgs>