Search code examples
javabluej

Adding library in BlueJ


I am wondering if there a way to add Referenced library in blueJ. In eclipse, you can add the referenced library by clicking Build Path>> add external jar. How can you do it in blueJ? It is because I would like to use other library such as javax.mail, hibernate, and also log4j in BlueJ.


Solution

  • I didn't find your question clear, but if you are asking about adding a library into Java we should use the keyword import. For example if i want to import the libraries and classes of all objects I use:

    import java.io.*;
    

    Hope you got your answer.