首页 > 解决方案 > macOS 10.15.4 中的 Pentaho 数据集成安装问题

问题描述

我正在尝试安装 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文件中删除以下行来尝试在此处找到的解决方法。

-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]

将不胜感激任何帮助!

标签: javapentahopentaho-spoonpentaho-data-integration

解决方案


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

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


推荐阅读