Click here to Skip to main content
15,886,756 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I made an app, that uses the jssc library, and now I want to include that library in my jar file, when I build my app. I included all these files in my resource folder inside the src folder and that included all the files in the jar, but it is still not making reference to the library. I even changed the libraries path in the tools menu, so that it made reference to the files I placed in the resource folder but it is still not working. I know this, because it is working correctly in netbeans, but when I copy the jar to the desktop, it does not work.
Can someone please help me?
Thanks in advance!
Posted
Comments
TorstenH. 21-Apr-15 4:03am    
You need to include it in your build.
There should be some project settings dialog, where you can define the jars that are included in the build.
Member 10850253 21-Apr-15 6:35am    
I added this jar in the tools menu, and then libraries, for it to work. Can I add a library from the tools menu in the build options of my project in netbeans?
Richard MacCutchan 21-Apr-15 4:04am    
What does "it does not work" mean?
Member 10850253 21-Apr-15 6:36am    
It just wont connect while in netbeans it does connect to my arduino.
Richard MacCutchan 21-Apr-15 8:42am    
Sorry, but that does not give us any information that could help to diagnose the problem. You need to do some debugging to find out what is happening, either in your code or in the library.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900