function setJavaClasspath

import java.lang.*;

jarPath = fullfile(getOasisPath, 'matlabtools', 'shared', 'java');

javaaddpath(jarPath);

d = dir(jarPath);
for i = 1:length(d)
    name = String(d(i).name);
    if name.endsWith('.jar')
        javaaddpath(fullfile(jarPath, d(i).name));
    end
end


