Hi!
I'm sorry, I don't want to annoy anyone. I tested the game xpDiplomacy 4.1 a few minutes ago and it doesn't work under Linux. I get the following exception:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1272)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1218)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1065)
at com.sun.javaws.Launcher.run(Launcher.java:105)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.UnsatisfiedLinkError: no swt-win32-3349 or swt-win32 in swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at diplomacy.gui.GameLauncher.main(GameLauncher.java:13)
... 9 more
I submitted a bug report on sourceforge.net for this project. This game is looking for swt-win32 that can't be found under Linux of course. Then, please could you update the list of supported operating systems by this this game?
I think it is very easy to fix, I looked at the JNLP file:
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for xpDiplomacy -->
<jnlp spec="1.0+" codebase="
http://www.cs.tau.ac.il/~gurdotan/" href="xpDiplomacy.jnlp">
<information>
<title>xpDiplomacy</title>
<vendor>Tel Aviv University</vendor>
<description>xpDiplomacy - a java version of the famous diplomacy board game</description>
<homepage href="
http://java.sun.com/docs/books/tutorial/deployment/webstart/running.html" />
<description kind="short">
xpDiplomacy - a java version of the famous diplomacy board game
</description>
<offline-allowed />
</information>
<security>
<all-permissions/>
</security>
<resources>
<jar href="xpDiplomacy.jar" />
<j2se version="1.6" />
</resources>
<application-desc main-class="diplomacy.gui.GameLauncher" />
</jnlp>
As you can see, nothing allows to deploy SWT in this file. An example of JNLP file to deploy SWT under Windows and Linux at least can be found on the website of IBM.
I assume that the game installation under Windows and Mac with this JNLP file doesn't work but I can't prove it as my testers are on holidays unlike me and I don't own any Windows or Mac. Best regards.