My goal is to get a couple of the java samples running. Perhaps get a windows chat client talking with a sample linux chat client. I have the the linux chat server and client working. Java on windows is proving more difficult.
I've downloaded the SDK from https://allseenalliance.org/developers/download and imported a project into eclipse. I've got the alljoyn.jar added and alljoyn.dll added (as evidenced by my error messages changing). However, I still get unresolved dependencies:
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\xxx\workspace\java\JavaSDKDocSignalService\lib\native\alljoyn_java.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(Unknown Source) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at org.alljoyn.bus.samples.Service.<clinit>(Service.java:31)
Using dependency walker ( http://www.dependencywalker.com/ ), I think I need at least msvcp110d.dll and msvcr110d.dll. However, those are debug versions of the jars which I wouldn't expect to need. I do not have Visual Studio installed as https://allseenalliance.org/developers/develop/building/windows/build-source would lead me to believe I need (thought I'm not clear on that as I'm not trying to build the alljoyn product -- just use it).
So I think I'm stuck or misunderstanding what the java library is intended to do. Should I be able to write a small java chat client (and run it on a vanilla windows install with just my java, my jar, and the alljoyn jar/dll)? Or is the java build more intended for android?