在BlueJ中添加库 [英] Adding library in BlueJ
问题描述
我想知道是否有一种方法可以在blueJ中添加引用的库.在eclipse中,您可以通过单击Build Path>> add external jar
添加引用的库.您如何在blueJ中做到这一点?这是因为我想在BlueJ中使用其他库,例如javax.mail,hibernate和log4j.
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.
推荐答案
我没有清楚您的问题,但是如果您要向Java添加库,我们应该使用关键字import.例如,如果我要导入我使用的所有对象的库和类:
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.*;
希望您得到了答案.
这篇关于在BlueJ中添加库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!