AnsweredAssumed Answered

Not able to launch Spoon from Pentaho 8.1

Question asked by Nilesh Purohit on Oct 17, 2018
Latest reply on Oct 18, 2018 by Dan Keeley

Hi All,


I am able to use Spoon from Pentaho 8.1 on my laptop. I moved the same software to one of our test servers and when i try to launch Spoon, I get the below error.



DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files\Java\jre7

DEBUG: _PENTAHO_JAVA=C:\Program Files\Java\jre7\bin\java.exe



D:\Softwares\data-integration>"C:\Program Files\Java\jre7\bin\java.exe"  "-Xms1024m" "-Xmx2048m" "-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\launcher.jar -lib ..\libswt\win64  /level:Debug

Error occurred during initialization of VM

Incompatible minimum and maximum heap sizes specified

Picked up _JAVA_OPTIONS: -Xmx256M



Below are the setting at my side in the Spoon.bat file

if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m"



Can you please tell me what is going wrong here or what i should check ?