AnsweredAssumed Answered

Errors with Eclipse + Sparkplug

Question asked by cmitch13 on Nov 28, 2011

I downloaded Sparkplug Kit 2.0.7 and am trying to get my Eclipse environment setup.  I'm using Eclipse Indigo 3.7 and Java 1.5.  I've followed the instructions in the development guide.  I've set my jvm arguments as follows:

 

-Dplugin=${workspace_loc:sample}/resources/plugin.xml -Djava.library.path=${workspace_loc:sample}/native

 

I'm trying to get the example Sparkplug running.  When I debug Spark with Eclipse, the client comes up but I get the following exception:

 

Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError: no tray in java.library.path

    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)

    at java.lang.Runtime.loadLibrary0(Runtime.java:822)

    at java.lang.System.loadLibrary(System.java:993)

    at org.jdesktop.jdic.tray.internal.impl.DisplayThread.<clinit>(Unknown Source)

    at org.jdesktop.jdic.tray.internal.impl.WinSystemTrayService.<clinit>(Unknown Source)

    at org.jdesktop.jdic.tray.internal.impl.ServiceManagerStub.getService(Unknown Source)

    at org.jdesktop.jdic.tray.internal.ServiceManager.getService(Unknown Source)

    at org.jdesktop.jdic.tray.SystemTray.<clinit>(Unknown Source)

    at org.jivesoftware.spark.component.Notifications.<init>(Notifications.java:87)

    at org.jivesoftware.spark.SparkManager.getNotificationsEngine(SparkManager.java:22 6)

    at org.jivesoftware.spark.Workspace.buildLayout(Workspace.java:194)

    at org.jivesoftware.LoginDialog.startSpark(LoginDialog.java:743)

    at org.jivesoftware.LoginDialog.access$600(LoginDialog.java:81)

    at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:507)

    at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:132)

    at java.lang.Thread.run(Thread.java:595)

 

 

Can someone please help?

Outcomes