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://www.toymoban.com/news/detail-744087.html
结论,未能查明具体原因,但将文件放入桌面又能成功运行文章来源地址https://www.toymoban.com/news/detail-744087.html
到了这里,关于kettle 运行Spoon.bat时,显示错误Could not create the java virtual machine.的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!