Cuando se intenta hacer un reverse ingeeniering via JDBC. se reporta "Could not initialize JavaVM!"
Resuelto:
Source:
http://sybase.public.powerdesigner.general.narkive.com/xsK2vFdO/error-could-not-initialize-javavm
Extract:
Recently I had problem with running database reverse engineering via
JDBC. PowerDesigner reported "Could not initialize JavaVM!" problem.
OS: Windows7 64bit
PowerDesigner version: 12.5, 15.3
Solution: It appears that PowerDesigner requires 32bit JRE!!!
1) In menu Tools > General Options > Variables set variable JAVA to location of your java.exe (e.g. c:\java\jre6\bin\java.exe)
2) Add path to file jvm.dll to you PATH system variable (e.g. c:\java
\jre6\bin\client)
3) Create system variable CLASSPATH (if not exists) and add JDBC driver
for your database with full path into it (e.g. c:\drivers\jdbc\ojdbc14.jar)
En mi caso:
Path=C:\oraclexe\app\oracle\product\11.2.0\server\bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Brackets\command;C:\Program Files\apache-maven-3.5.0\bin;C:\Program Files\Java\jdk1.7.0_79\bin;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program Files\Git\cmd;C:\Program Files\Heroku\bin;C:\Program Files\Docker Toolbox
CLASSPATH=C:\Program Files (x86)\MySQL\Connector.J 5.1\mysql-connector-java-5.1.41-bin.jar
y Listo!
Gracias mi estimado, esta solución me ha sido de mucha ayuda, saludos.
ResponderEliminar