Create account / Log in

Upgrading to a newer version of Java

Issues with the Vassal engine.

Moderators: Tim M, uckelman

Upgrading to a newer version of Java

Postby uckelman » September 8th, 2019, 11:39 pm

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.
User avatar
uckelman
Site Admin
 
Posts: 8113
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Upgrading to a newer version of Java

Postby tar » September 10th, 2019, 12:32 am

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
>
User avatar
tar
 
Posts: 772
Joined: January 2nd, 2008, 6:53 pm
Location: Los Angeles area

Re: Upgrading to a newer version of Java

Postby uckelman » September 11th, 2019, 11:01 pm

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.
User avatar
uckelman
Site Admin
 
Posts: 8113
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Upgrading to a newer version of Java

Postby GianniVacca » September 24th, 2019, 9:34 pm

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
User avatar
GianniVacca
 
Posts: 2
Joined: September 24th, 2019, 9:31 pm

Re: Upgrading to a newer version of Java

Postby uckelman » September 25th, 2019, 7:13 pm

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.
User avatar
uckelman
Site Admin
 
Posts: 8113
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Upgrading to a newer version of Java

Postby GianniVacca » September 26th, 2019, 7:46 am

> 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?
User avatar
GianniVacca
 
Posts: 2
Joined: September 24th, 2019, 9:31 pm


Return to Technical Support & Bugs

Who is online

Users browsing this forum: No registered users and 3 guests