changed java to be able to open elsewhere