Java error on Linux

Indeed, if you remove the curly braces { } from the Comment field of your threshold parameters in GetDescription(), it fixes the problem:

% Threshold1 - SDs from the average amplitude
sProcess.options.threshold1.Comment = 'x SDs from the Mean: ';
sProcess.options.threshold1.Type    = 'value';
sProcess.options.threshold1.Value   = {5, 'SDs', 0};
% Threshold2 - absolute upper limit
sProcess.options.threshold2.Comment = 'The upper limit of peak amplitude (abs.): ';
sProcess.options.threshold2.Type    = 'value';
sProcess.options.threshold2.Value   = {350, 'uV', []};    
% Threshold3 - variation between consecutive time points
sProcess.options.threshold3.Comment = 'The threshold of variation between consecutive points (abs.): ';
sProcess.options.threshold3.Type    = 'value';
sProcess.options.threshold3.Value   = {25, 'uV', []};     

Best,
Martin