Allow define a class required before installation process

The idea is allow require the class which installs java