How to fix error on Pentaho Data Integration (Kettle) startup

Howto fix startup error of Pentaho Data Integration (Kettle) on CentOS 6? You just need to modify the spoon.sh startup script after downloading and unzipping Pentaho Data Integration. The modification updates the Java runtime options for Kettle to startup properly. Therefore open

[code language=”bash”]spoon.sh[/code]

and change the end of the file in the following way:

[code language=”bash”]

# **********************

# ** Set java runtime options **

# ** Change 512m to higher values in case you run out of memory **

# ** or set the PENTAHO_DI_JAVA_OPTIONS environment variable **

# **********************

if [ -z “$PENTAHO_DI_JAVA_OPTIONS” ]; then

PENTAHO_DI_JAVA_OPTIONS="-Xmx512m -XX:MaxPermSize=256m"

fi

OPT="$OPT $PENTAHO_DI_JAVA_OPTIONS -Djava.library.path=$LIBPATH -DKETTLE_HOME=$KETTLE_HOME -DKETTLE_REPOSITORY=$KETTLE_REPOSITORY -DKETTLE_USER=$KETTLE_USER -DKETTLE_PASSWORD=$KETTLE_PASSWORD -DKETTLE_PLUGIN_PACKAGES=$KETTLE_PLUGIN_PACKAGES -DKETTLE_LOG_SIZE_LIMIT=$KETTLE_LOG_SIZE_LIMIT -Dorg.eclipse.swt.browser.XULRunnerPath=/dev/null"

# *******

# ** Run… **

# *******

“$_PENTAHO_JAVA” $OPT $STARTUP -lib $LIBPATH “${1+$@}”

[/code]

Everything I did was appending

[code language=”bash”]-Dorg.eclipse.swt.browser.XULRunnerPath=/dev/null"[/code]

to the

[code language=”bash”]OPT[/code]

part as described in ticket TDI-24139.