请教PowerDesigner Could not Initialize JavaVM 如何解决?
点击Test Conncetion进行数据库连接测试的时候会弹出Conncetion test failed!
PowerDesigner控制台会提示Could not Initialize JavaVM!
具体配置和系统环境如下
PowerDesigner使用JDBC连接MySql数据库配置:
Connection type : JDBC
DBMS type : MySQL
User name : root
Password : ****
JDBC driver class : com.mysql.jdbc.Driver
JDBC connection URL : jdbc:mysql://localhost:3306/test
JDBC driver jar files : E:\Workspaces\my-jar\mysql-connector-java-5.1.7-bin.jar
系统变量:
CLASSPATH = E:\Workspaces\my-jar\mysql-connector-java-5.1.7-bin.jar
Path = D:\Java\jdk1.6.0_13\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
PowerDesigner Tools --> General Options --> Variables:
JAR D:\Java\jdk1.6.0_13\bin\jar.exe
JAVA D:\Java\jdk1.6.0_13\bin\java.exe
JAVAC D:\Java\jdk1.6.0_13\bin\javac.exe
JAVADOC D:\Java\jdk1.6.0_13\bin\javadoc.exe
[解决办法]
我的异常网推荐解决方案:java环境变量设置,http://www.myexception.cn/java-other/172921.html
[解决办法]
设置环境变量:
java_home = D:\Java\jdk1.6.0_13\bin