Mac Kettle 安装

下载

https://sourceforge.net/projects/pentaho/files/

版本:9.1

安装

下载 zip 包后,解压到相应目录即可

启动

执行spoon.command启动 kettle

启动异常

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
java.lang.NullPointerException
at org.eclipse.swt.widgets.Control.internal_new_GC(Unknown Source)
at org.eclipse.swt.graphics.GC.<init>(Unknown Source)
at org.eclipse.swt.graphics.GC.<init>(Unknown Source)
at org.eclipse.swt.custom.CTabFolder.updateTabHeight(Unknown Source)
at org.eclipse.swt.custom.CTabFolder.runUpdate(Unknown Source)
at org.eclipse.swt.custom.CTabItem.getBounds(Unknown Source)
at org.eclipse.swt.custom.CTabFolder.onPaint(Unknown Source)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Control.drawWidget(Unknown Source)
at org.eclipse.swt.widgets.Widget.drawRect(Unknown Source)
at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Unknown Source)
at org.eclipse.swt.widgets.Display.applicationProc(Unknown Source)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1385)
at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7968)
at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9350)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:711)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
2019-12-23 12:31:23 - Spoon - Spoon 已经结束.
stopping

问题原因

由于 jdk 版本不兼容导致,不能高于 JAVA 8 242 版本

解决方案

方案一:卸载高版本 jdk,重新下载 jdk 1.8 242或以下版本安装

方案二:从https://www.azul.com/downloads/zulu-community/?version=java-8-lts&os=macos&architecture=x86-64-bit&package=jdk&show-old-builds=true下载 JAVA 8 242 版本,解压 zip 后,将解压后的文件放到$KETTLE_HOME/java下。参考:https://jira.pentaho.com/browse/PDI-18866

  • 本文作者: forever杨
  • 本文链接: https://blog.yl-online.top/posts/9fd2e395.html
  • 版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。如果文章内容对你有用,请记录到你的笔记中。本博客站点随时会停止服务,请不要收藏、转载!