[AS7-6354] Get rid of java.endorsed.dirs in launch scripts