kettle 运行Spoon.bat时,显示错误Could not create the java virtual machine.
kettle 运行Spoon.bat时,显示错误Could not create the java virtual machine , A fatal exception has occured.Program will exit.
可能原因:jdk版本,运行内存不足
错误原因:并非运行内存不足和jdk版本问题,通过查询SpoonConsole.bat得知
Launching Spoon with console output:
D:\data-integration\data-integration>"D:\data-integration\data-integration\spoon.bat"
DEBUG: Found JAVA two folder up
DEBUG: _PENTAHO_JAVA_HOME=D:\data-integration\data-integration\..\..\java
DEBUG: _PENTAHO_JAVA=D:\data-integration\data-integration\..\..\java\bin\java.exe
发现了两个文件夹,由于自己解压时创建了相同名字文件夹,并且将解压的文件放在了相同名字文件夹里,导致运行spoon.bat时出现Could not create the java virtual machine , A fatal exception has occured.Program will exit.
解决方案:将文件移出到桌面,成功运行
其他错误尝试:当把文件在移出同名文件到D盘,且删除同名文件,在D盘中运行则继续出现错误
错误原因变为
Launching Spoon with console output:
D:\data-integration>"D:\data-integration\spoon.bat"
DEBUG: Found JAVA one folder up
DEBUG: _PENTAHO_JAVA_HOME=D:\data-integration\..\java
DEBUG: _PENTAHO_JAVA=D:\data-integration\..\java\bin\java.exe
D:\data-integration>"D:\data-integration\..\java\bin\java.exe" "-Xms512m" "-Xmx512m" "-XX:MaxPermSize=256m" "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" "-Djava.library.path=libswt\win64" "-DKETTLE_HOME=" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_JNDI_ROOT=" -jar launcher\pentaho-application-launcher-7.1.0.0-12.jar -lib ..\libswt\win64
结论,未能查明具体原因,但将文件放入桌面又能成功运行
来源地址:https://blog.csdn.net/m0_59332278/article/details/130225129
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341