To use a class in another package you need to java code example Example: java file package import import java.io.File;