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.

我当前安装了以下内容。

  • pdi-ce-9.0.0.0-423(https://sourceforge.net/projects/pentaho/)
  • jre-8u241-macosx-x64(https://www.oracle.com/java/technologies/javase-jre8-downloads.html)

我尝试了一种变通方法,从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]

非常感谢您的帮助!

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

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

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

  • PDI 8.2+java版本"1.8.0_321">

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

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

此外,在加载主窗口之后,图标旁边的文本将出现";空白";,但那是因为我有";"暗模式";(外观,在"常规设置"上(在我的系统上启用。因此,在将其改回";光模式";并且重新开始PDI;"正常";。

希望这能对你有所帮助,为你节省一些时间!

[]

最新更新