开源免费--最喜欢的四个字没有之一
1.官网下载 https://sourceforge.net/projects/pentaho/files/Data%20Integration/
下载完后,解压即可,双击Spoon.bat就可以启动了。
2. 配置JVM及内存配置问题
自行配置 参考: https://www.cnblogs.com/shinge/p/5500002.html
3. 如果启动报错“could not create the java virtual machine”,并不是java虚拟机出了问题,需要修改下的spoon.bat里内存配置
if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms2058m" "-Xmx1024m" "-XX:MaxPermSize=256m"
改为
if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms512m" "-Xmx512m" "-XX:MaxPermSize=256m"
如果电脑内存小于4G,建议可以再小一些.
4. 如果启动继续报错,"A java exception has occurred" ,可以考虑下载的Kettle版本是否与你JDK匹配,
例如: pdi-ce-7.1.0.0-12版本对应JDK1.8
3.连接数据库找不到驱动问题(MySql为例)
提示错误[mysql] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Driver class 'org.gjt.mm.mysql.Driver' could not be found, make sure the 'MySQL' driver (jar file) is installed.
org.gjt.mm.mysql.Driver
解决办法:把mysql-connector-java-5.1.37-bin.jar拷贝到 \\pdi-ce-6.0.1.0-386\data-integration\lib下面,然后重新启动spoon即可。