This is the way I do it:Right click in the package explorer New/Project. Choose JavaProject/next. Then where it says ‘Project contents’ untick use defaultand browse to your class directory.