Kettle7.1在window启动报错

Posted xiaochina

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Kettle7.1在window启动报错相关的知识,希望对你有一定的参考价值。

实验环境:

window10 x64

kettle7.1  pdi-ce-7.1.0.0-12.zip

错误现象:

a java exception has occurred

技术分享图片

 

问题解决:

 运行调试工具

   data-integrationSpoonDebug.bat    //调试错误的,根据错误明确知道为何启动不了,Y--Y---Y ,在根目录下生成SpoonDebug.txt文件

根据调试日志

DEBUG: Using JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=C:Javajdk1.7.0_80
DEBUG: _PENTAHO_JAVA=C:Javajdk1.7.0_80injava.exe

D:ETL-Kettledata-integration>"C:Javajdk1.7.0_80injava.exe"  "-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m" "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" "-Djava.library.path=libswtwin64" "-DKETTLE_HOME=" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_JNDI_ROOT=" -jar launcherpentaho-application-launcher-7.1.0.0-12.jar -lib ..libswtwin64  /level:Debug 
java.lang.UnsupportedClassVersionError: org/pentaho/commons/launcher/Launcher : Unsupported major.minor version 52.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Exception in thread "main" 

根据查询得之,
Unsupported major.minor version 52.0,是java-jdk1.8的东西,因此安装jdk1.8在启动就好了!

运行真身

技术分享图片

以上是关于Kettle7.1在window启动报错的主要内容,如果未能解决你的问题,请参考以下文章

SpringBoot启动报错“Consider defining a bean of type ‘xxx.mapper.UserMapper‘ in your configuration.“(代码片段

Nginx——Nginx启动报错Job for nginx.service failed because the control process exited with error code(代码片段

项目启动报错Failed to configure a DataSource: 'url' attribute is not specified and no embedde(代码片段

scrapy按顺序启动多个爬虫代码片段(python3)

部署kettle7.1

Vue报错:Uncaught TypeError: Cannot assign to read only property 'exports' of object 的解决方法(代码片段