add Java dep for MATLAB