Adding Java file