fix java thinks pwd is matlab userpath, ha