Java from old classes