7
3
Is there a way of pointing to the proper Java/JRE in dbeaver.ini?
This works:
dbeaver.exe -vm "C:\Program Files\Java\jre1.8.0_131\bin\server"
...but this way I can't pin DBeaver to taskbar (its icon gets duplicated)
Is there a way of achieving the above within the ini file? Or does the JRE need to be determined before dbeaver.ini file is read?
(I would like to stick to DBeaver without installing its bundled JRE.)
These are -vm args I tested as #1 line of dbeaver.ini:
-vm "C:\Program Files\Java\jre1.8.0_131\bin"
-vm "C:\Program Files\Java\jre1.8.0_131\bin\javaw.exe"
-vm "C:\Program Files\Java\jre1.8.0_131\bin\server"
-vm "C:\Program Files\Java\jre1.8.0_131\bin\server\jvm.dll"
Yes sir, I have disabled/unchecked installation of DBeaver's JRE. And I would like to point DBeaver to one of the JREs I have on my machine. – Jaroslav Záruba – 2017-06-15T12:05:17.933
1@JaroslavZáruba Have you added
-vm "C:\Program Files\Java\jre1.8.0_131\bin\server\javaw.exe"
to your dbeaver.ini BEFORE -vmargs? – Kyle – 2017-06-15T13:08:04.497
javaw.exe is not under server\ (checked all JDKs/JREs under C:\Program Files\Java)... but I have updated the question with list of -vm I tested – Jaroslav Záruba – 2017-06-16T07:53:31.003
Regardless of what I put into the -vm arg I see following on the 3rd line of the error report: "java.version=1.7.0_55" – Jaroslav Záruba – 2017-06-16T08:13:10.913
And even when I set JAVA_HOME to 1.8, DBeaver still insists java version is 1.7.0_55 – Jaroslav Záruba – 2017-06-16T08:15:56.343
1@JaroslavZáruba, I've updated my answer to show an example .ini. I tested with a fresh install of DBeaver on Win 7 without JRE and pointed it to an existing JRE with success this way. – Kyle – 2017-06-16T14:04:12.247
awesomeness! so i was adding the argument using wrong syntax... thank you sir! – Jaroslav Záruba – 2017-06-16T19:24:36.397