covert to java project