I don't know what you are trying to do but for project development I'd recommend using any available IDE out there. All of them have some sort of project configuration structure where you config the project's classpath. This is what you should start with, if that's the case.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.