new function javaaddpath