简体   繁体   中英

How to add a .jar file to netbeans, not a reference

在此处输入图片说明

I downloaded a look and feel .jar to my desktop, then in netbeans added it to my libraries folder in my java project.
But it appears to just be a reference to the actual .jar on my desktop.

Netbeans doesn't care (and doesn't need) your jar. What you have to do is add the jar to your project, instead of adding an external library to netbeans.

If your project is a maven project (unlikely), add the jar as a dependency.

If your project is a java project then look for a library (lib) folder.

If you are trying to modify the look and feel of netbeans itself: Force look and feel on NetBeans 6.5

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM