Hello,
I am trying to set up Eclipse 3.3 to host VASSAL version 3.0.13 on a
couple of computers, one of which runs Windows XP and the other
Windows Vista. I am apparently haveing a problem finding the right
RMVAssal.jar and RMcryptix32.jar files on XP and even finding the
files at all in Vista.
1) Windows XP. I have found the location where these files are
stored, but I get an error.
C:\Documents and Settings\<User Folder>\Application
Data\Sun\Java\Deployment\cache\javaws\http\Dwww.vassalengine.org\P80
\DMws
In the above directory, I have found the files and they are
recognized enough by Eclipse to run the program (with suppressed)
errors. However the program crashes with an uncaptured error the
moment I attempt to load a module. The error log produced the
following
-- OS Windows XP
-- Java version 1.6.0_03
-- VASSAL version 3.0.13/2.6.1
java.lang.NoSuchFieldError: globalPrefs
at org.vassalengine.f.getPrefs(Unknown Source)
..............................................
The log is much longer of course but the error seems to be obvious.
There is a mismatch between the versions and I have referenced an
apparently obsolete version of RMVassal.jar (version 2.6.1), which
appears to have been installed when I installed version version 2.6.1
of VASSAL sometime last year.
I tried accessing the Vassal.jar file in the .zip file as suggested
in the wiki developer notes but when I do that, Eclipse can't find
the org.vassalengine.Main class to even start the program. Do I need
to rename Vassal.jar to RMVassal.jar and cryptix32.jar to
RMcryptix32.jar? That is something I have not tried.
2) In a new Vista machine that I have I had even worse luck as I
cannot find any version of RMVassal.jar or RMcryptix32.jar anywhere
on the machine. I tried copying the files across from my XP machine
and using the .zip file with Vassal.jar but to the same results as in
XP.
Any advice would be appreciated. Thank you for your attention.
Scot McConnachie