Fix java path issue