kettle的下载、安装和初步使用(windows平台下)(图文详解)
2021-04-07 06:25
问题一:配置JVM及内存配置问题
如果java_home设置了,仍提示:
could not find the main class. Program will exit!
可以设置环境变量:PENTAHO_JAVA_HOME,变量值为:jdk的安装目录,1.6以上即可。本机为: D:\Program Files\java\jdk1.7.0_8
但是,一般都不需要哈。
问题二:如果启动还报错 ERROR:could not create the java virtual machine!
不是Java虚拟出了问题,修改一下spoon.bat里内存配置:
if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m"
改为:
if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms512m" "-Xmx1024m" "-XX:MaxPermSize=256m"
问题三:连接数据库找不到驱动问题(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.21-bin.jar拷贝到
D:\SoftWare\kettle\data-integration\lib下面,然后重新启动spoon即可。
文章标题:kettle的下载、安装和初步使用(windows平台下)(图文详解)
文章链接:http://soscw.com/index.php/essay/72282.html