Got error in spark2.5.8--java.lang.UnsatisfiedLinkError: no tray in java.library.path


I got this exception when debug spark2.5.8 in eclipse,

I have tried to add a JVM parameter to the run properties as :-Djava.library.path=C:…\Sparkplugs\spark\lib\windows

but it appears a different error:

java.lang.UnsatisfiedLinkError: org.jdesktop.jdic.tray.internal.impl.GnomeSystemTrayService.initNative(Ljava/la ng/String;)V

With this error the spark still can work but there will not be any tray icon.

What should i do?

Please give me some suggestion, thanks

help~ who can give me some suggestion?

check you “Java Build Path - Librarys”, that the tray.dll is contained ?

and the run_configuations that the “Classpath” has contain the spark-src-resources