How to import a library when you have the jar? - Mongodb and Processing
in
Contributed Library Questions
•
5 months ago
The only thread I've found on using Mongodb and Processing is here:
https://forum.processing.org/topic/mongo-db-and-processing.
The OP asks if it's possible to use both together, and it is. However, the thread stops there.
Has anyone gotten this working? If so, how?
Mongodb is installed properly on my machine. I can get a local database up and running and connect to it through the command window. However, when I try to import the Mongodb Java driver into Processing, it tells me that the library does not exist. I have the jar in the same folder. I've also tried including the src in the same folder (the src is far too convoluted to be imported properly and used as adjacent Java classes along with the PDEs).
Do I have to recompile the src as a Processing library? How can I import the Mongodb Java library when I have the jar?
Thank you!
Do I have to recompile the src as a Processing library? How can I import the Mongodb Java library when I have the jar?
Thank you!
1