【问题标题】:Pentaho Data Integration Installation Problem in macOS 10.15.4macOS 10.15.4 中的 Pentaho 数据集成安装问题
【发布时间】:2020-04-14 12:15:05
【问题描述】:

我正在尝试安装 PDI 9 并继续从终端收到以下错误。

Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
-Djava.endorsed.dirs=%JAVA_ENDORSED_DIRS is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

我目前安装了以下内容。

我尝试通过从spoon.sh 文件中删除以下行来找到here 的解决方法。

-Djava.endorsed.dirs=%JAVA_ENDORSED_DIRS

spoon.sh 文件运行,但是,应用程序在拉起后立即关闭。下面显示了包含许多警告消息的前几行。

DEBUG: Using value (/Users/juanflorencioferrer/Downloads/data-integration/Data 
Integration.app/Contents/MacOS/../../../) from calling script
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.pentaho.di.core.plugins.KettleURLClassLoader (file:/Users/juanflorencioferrer/Downloads/data-integration/launcher/../lib/kettle-core-9.0.0.0-423.jar) to field java.net.URLClassLoader.ucp
WARNING: Please consider reporting this to the maintainers of org.pentaho.di.core.plugins.KettleURLClassLoader
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
20:03:06,639 INFO  [KarafBoot] Checking to see if org.pentaho.clean.karaf.cache is enabled
20:03:06,801 INFO  [KarafInstance]
...
2020/04/14 20:03:36 - Spoon - Spoon  has ended.
stopping
[Process completed]

不胜感激!

【问题讨论】:

    标签: java pentaho pentaho-spoon pentaho-data-integration


    【解决方案1】:

    看来我需要卸载现有的 JDK 11 版本并将其替换为 JDK 8。以下链接获取说明。

    https://www.codevoila.com/post/78/how-to-uninstall-or-remove-jdk-in-mac-os-x

    【讨论】:

    • 我遇到了同样的问题,谢谢。在我的例子中,系统本身的原生版本是 JRE,而 Pentaho 只在 JDK 上运行。
    【解决方案2】:

    想与我分享解决 PDI 安装问题的方法, 在运行 MacOS Catalina V.10.15.7 的 Mac 上:

    安装并尝试通过命令行运行后,数据集成窗口不会出现,所以我发现这是因为它需要更新 [SWT 文件] (https://community.hitachivantara.com/communities/community-home/digestviewer/view-question?ContributedContentKey=0cbaf1aa-079e-435c-a57e-5c2a505b02de&CommunityKey=e0eaa1d8-5ecc-4721-a6a7-75d4e890ee0d&tab=digestviewer)。

    按照帖子上的步骤,有不同的版本可供选择。我测试了其中的许多,“org.eclipse.swt.cocoa.macosx.x86_64-3.116.100.jar”是在我的电脑上工作的那个。

    另外,加载主窗口后,图标旁边的文本会显示为“空白”,但那是因为我在系统上启用了“暗模式”(外观,在常规设置上)。因此,在将其改回“Light mode”并重新启动 PDI 后,一切看起来“正常”。

    希望对您有所帮助并节省一些时间!

    []

    【讨论】:

      猜你喜欢
      • 2021-10-10
      • 1970-01-01
      • 2020-09-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-11-26
      • 1970-01-01
      相关资源
      最近更新 更多