Page 1 of 1
Upgrading to a newer version of Java

Posted:
September 8th, 2019, 11:39 pm
by uckelman
I've been banging my head against the wall for a few weeks now to have a test build working with a version of Java newer than Java 8. Just a few minutes ago I solved the last major issue I know of, which was working around the fact that the classes we use to play sound were deprecated and then removed after Java 8.
Expect a test build sometime this week.
Re: Upgrading to a newer version of Java

Posted:
September 10th, 2019, 12:32 am
by tar
Hooray!
On Sun, Sep 8, 2019 at 4:40 PM uckelman
wrote:
> I've been banging my head against the wall for a few weeks now to have a
> test build working with a version of Java newer than Java 8. Just a few
> minutes ago I solved the last major issue I know of, which was working
> around the fact that the classes we use to play sound were deprecated
> and then removed after Java 8.
>
> Expect a test build sometime this week.
>
> _______________________________________________
> Read this topic online here:
> viewtopic.php?p=57560#p57560
> _______________________________________________
> messages mailing list
> messages@vassalengine.org
> http://www.vassalengine.org/mailman/listinfo/messages
>
Re: Upgrading to a newer version of Java

Posted:
September 11th, 2019, 11:01 pm
by uckelman
Test build:
http://vassalengine.sourceforge.net/builds/3.2.18-svn9251 is compiled with Java 11 to work with Java 9 or later. It WILL NOT work with anything less than Java 9.
Please give this build a try and let me know what you find.
Re: Upgrading to a newer version of Java

Posted:
September 24th, 2019, 9:34 pm
by GianniVacca
I have tried version VASSAL-3.2.18-svn9251 with a freshly-installed JDK SE 11, and upon launching VASSAL I get an error pop-up with the following error message:
This application requires a Java Runtime Environment 1.5.0
Re: Upgrading to a newer version of Java

Posted:
September 25th, 2019, 7:13 pm
by uckelman
Thus spake GianniVacca:
> I have tried version __VASSAL-3.2.18-svn9251__ with a freshly-installed
> JDK SE __11__, and upon launching VASSAL I get an error pop-up with the
> following error message:
> This application requires a Java Runtime Environment 1.5.0
We need more details to know what went wrong, such as what OS you're
using, how you're launching VASSAL, and what's in the errorLog.
--
J.
Re: Upgrading to a newer version of Java

Posted:
September 26th, 2019, 7:46 am
by GianniVacca
> such as what OS you're using
Win7 Professional
> how you're launching VASSAL
I've tried both double-clicking on the icon, and entering the following in a cmd window:
java -jar Vengine.jar
> and what's in the errorLog.
When I use the command line I only have the following:
VASSAL: IO error
java.io.IOException
at VASSAL.launch.ModuleManager.main(ModuleManager.java:164)
Caused by: java.nio.channels.OverlappingFileLockException
at sun.nio.ch.SharedFileLockTable.checkList(Unknown Source)
at sun.nio.ch.SharedFileLockTable.add(Unknown Source)
at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source)
at java.nio.channels.FileChannel.tryLock(Unknown Source)
at VASSAL.launch.ModuleManager.main(ModuleManager.java:161)
Is there more I can find somewhere?