安装 dbeaver 时出错 - Java 错误代码 = 13
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/37594670/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Error while installing dbeaver - Java error code = 13
提问by The Numbers Man
回答by Vaulenst
I downloaded the 64bit zip version of Dbeaver and I got the same error. So I downloaded the 32bit zip version and that worked fine. I assume I have a 32bit version of java VM installed.
我下载了 Dbeaver 的 64 位 zip 版本,但遇到了同样的错误。所以我下载了 32 位 zip 版本,效果很好。我假设我安装了 32 位版本的 java VM。
回答by Lycone
I had the same problem this morning. There are two practical ways to solve it:
今天早上我遇到了同样的问题。有两种实用的解决方法:
- Download the right version (probably DBeaver 64Bit version). You must actually find out which JRE-version your computer is running.
- Change the JVM DBeaver is using: Go to the DBeaver-directory and add the lines below on the top of the
dbeaver.ini
file. Be aware that the line break is important!
Of course you must have the right jdk installed where the directory is pointing to.-vm C:/path/to/your/jdk/jdk-8u144-windows-x64/jre/bin/server/jvm.dll
- 下载正确的版本(可能是 DBeaver 64Bit 版本)。您实际上必须找出您的计算机正在运行的 JRE 版本。
- 更改 DBeaver 正在使用的 JVM:转到 DBeaver 目录并在
dbeaver.ini
文件顶部添加以下行。请注意,换行符很重要!
当然,您必须在目录指向的位置安装正确的 jdk。-vm C:/path/to/your/jdk/jdk-8u144-windows-x64/jre/bin/server/jvm.dll
回答by richk
Starting with DBveaver version 6.0.1 only the 64-bit version is available and I had to install 64-bit JRE to make it work.
从 DBveaver 6.0.1 版开始,只有 64 位版本可用,我必须安装 64 位 JRE 才能使其工作。
32-bit versions were obsolete in version 6.0.1 and later (because both Java and Eclipse platform are no longer support 32 bit). If you need 32-bit version of DBeaver then you can download version 6.0.0 or earlier or use DBeaver Enterprise.
32 位版本在 6.0.1 及更高版本中已过时(因为 Java 和 Eclipse 平台都不再支持 32 位)。如果您需要 32 位版本的 DBeaver,那么您可以下载 6.0.0 或更早版本或使用 DBeaver Enterprise。