使用DbVisualizer工具连接DB2时报错:An error occurred while establishing the connection(已解决)

错误信息:

2019-10-10 10:55:40.925 CONFIG 934 [AWT-EventQueue-0 - D.ᄄᄀ] Product: DbVisualizer 9.5.8 [Build #2751]
2019-10-10 10:55:40.928 CONFIG 934 [AWT-EventQueue-0 - D.ᄄᄀ] OS: Windows 7
2019-10-10 10:55:40.928 CONFIG 934 [AWT-EventQueue-0 - D.ᄄᄀ] OS Version: 6.1
2019-10-10 10:55:40.928 CONFIG 934 [AWT-EventQueue-0 - D.ᄄᄀ] OS Arch: amd64
2019-10-10 10:55:40.928 CONFIG 934 [AWT-EventQueue-0 - D.ᄄᄀ] Java Version: 1.8.0_181
2019-10-10 10:55:40.928 CONFIG 934 [AWT-EventQueue-0 - D.ᄄᄀ] Java VM: Java HotSpot™ 64-Bit Server VM
2019-10-10 10:55:40.928 CONFIG 934 [AWT-EventQueue-0 - D.ᄄᄀ] Java Vendor: Oracle Corporation
2019-10-10 10:55:40.929 CONFIG 934 [AWT-EventQueue-0 - D.ᄄᄀ] Java Home: c:\program files\java\jdk1.8.0_181\jre
2019-10-10 10:55:40.929 CONFIG 934 [AWT-EventQueue-0 - D.ᄄᄀ] DbVis Home: D:\db2ᄄᄁ??ᄄᆴ1ᄀ│??\db2\dbvis\DbVisualizer
2019-10-10 10:55:40.929 CONFIG 934 [AWT-EventQueue-0 - D.ᄄᄀ] User Home: C:\Users\admin
2019-10-10 10:55:40.929 CONFIG 934 [AWT-EventQueue-0 - D.ᄄᄀ] PrefsDir: C:\Users\admin.dbvis
2019-10-10 10:55:40.929 CONFIG 934 [AWT-EventQueue-0 - D.ᄄᄀ] SessionId: 934
2019-10-10 10:55:40.935 CONFIG 934 [AWT-EventQueue-0 - D.ᄄᄀ] Java Arguments:
2019-10-10 10:55:40.935 CONFIG 934 [AWT-EventQueue-0 - D.ᄄᄀ] Java Properties: -Dexe4j.semaphoreName=Local\d:_db2￁ᆲ푸ᄍᄂᄒ￟_db2_dbvis_dbvisualizer_dbvis-multi.exe0 -Dexe4j.isInstall4j=true -Dexe4j.moduleName=D:\db2￁ᆲ푸ᄍᄂᄒ￟\db2\dbvis\DbVisualizer\dbvis-multi.exe -Dexe4j.tempDir= -Dexe4j.unextractedPosition=0 -Djava.library.path=D:\db2￁ᆲ푸ᄍᄂᄒ￟\db2\dbvis\DbVisualizer.\jdbc\jtds\x64\SSO;C:\Program Files (x86)\NetSarang\Xshell 6;.C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Java\jdk1.8.0_11\bin;C:\Program Files (x86)\Java\jdk1.8.0_11\jre\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;D:\Program Files (x86)\Scripts;D:\Program Files (x86);C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files\Len

解决方案:

DbVisualizer工具安装路径必须为英文!!!(我的因为这个工具安装路径中有中文才报的这个错)

你可能感兴趣的:(java)