For the program I'm trying to create, I'm at the point where I want to use
Java to import a folder into iTunes. I've been following
this article. The article states to use a JACOB jar file and the iTunes Com SDK. I'm trying to run the sample code just to get iTunes to play/pause so I know it's working and I can mess around and try and figure out how to make it import folders on my own. Here's the code for making it play/pause:
The problem is when I run it, I get the following error: "Exception in
thread "main" java.lang.UnsatisfiedLinkError: no jacob-1.17-M2-x64 in java.library.path"
I have no idea what that means and I have no idea how to work with Jar files, libraries, COMs, etc. I've been researching heavily over the past week trying to make this error message go away but there is little information out there to assist me. I've done some trial and error things like going under my project properties > Libraries > Processor > and added added the jar folder in there. Nothing happened. I then went under Options >
Ant > and added the zip file for Jacob. No change again. So right now I'm completely lost. Based on the error message it sounds like I have to take the .dll file from the folder and copy it somewhere but I have no idea where to copy it to, or if that's even the problem. Help would be greatly appreciated as I really want to learn how to work with iTunes with Java.