java - 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
推荐阅读
- javascript - 如何为变量添加过滤器
- arrays - 哪个性能更好:在运行时确定的动态数组与 VBA 中的类结构?
- angular - 是什么导致无法执行“createObjectURL”错误?
- javascript - Javascript函数中的多个ID
- javascript - 从输入字段和复选框添加值
- c - 为什么 fwrite (with struct) 写入未知符号?
- java - MIPS 汇编 while 循环
- symfony - symfony/依赖注入与 symfony/console 冲突
- phpspreadsheet - 我可以用 php 读写 xslm 文件吗?
- angular - 如何在本地将 JSON 数据从 perl 脚本传递到角度控制器