Help us test builds for VASSAL 3.3.0

uckelman

Senior Member
Joined
Sep 12, 2011
Messages
714
Reaction score
439
Location
Durham
Country
llUnited Kingdom
We're nearing a new release of VASSAL which will work with Java 9 and later. There have been many changes to our dependencies since 3.2.17 was released (though hardly any changes to VASSAL itself) so we could use your help with testing.

Test builds are here:

http://vassalengine.sourceforge.net/builds/

Please give the most recent test build for 3.3.0 a try and let us know what problems you find.

Two changes of note:
  • Java 9 or later is now a requirement.
  • The Windows installer comes bundled with its own copy of Java for VASSAL to use (which at present is Java 13).
 

von Marwitz

Forum Guru
Joined
Nov 25, 2010
Messages
14,358
Reaction score
10,207
Location
Kraut Corner
Country
llUkraine
The Windows installer comes bundled with its own copy of Java for VASSAL to use (which at present is Java 13).
What would happen if you run the installer and currently use a JAVA version >8 but <13 for some specific reason?

von Marwitz
 

uckelman

Senior Member
Joined
Sep 12, 2011
Messages
714
Reaction score
439
Location
Durham
Country
llUnited Kingdom
What would happen if you run the installer and currently use a JAVA version >8 but <13 for some specific reason?

von Marwitz
If you install using the Windows installer, VASSAL will run with the Java bundled with it, not the version of Java you have installed.

If you want to run with your local version of Java on Windows, you'd need to use the .zip bundle instead.
 

von Marwitz

Forum Guru
Joined
Nov 25, 2010
Messages
14,358
Reaction score
10,207
Location
Kraut Corner
Country
llUkraine
If you install using the Windows installer, VASSAL will run with the Java bundled with it, not the version of Java you have installed.

If you want to run with your local version of Java on Windows, you'd need to use the .zip bundle instead.
Does the bundled JAVA version replace the one that I have on my computer or would it be parallel installations?
If the latter, could this in any way screw up programs needing older JAVA versions?

von Marwitz
 

uckelman

Senior Member
Joined
Sep 12, 2011
Messages
714
Reaction score
439
Location
Durham
Country
llUnited Kingdom
Does the bundled JAVA version replace the one that I have on my computer or would it be parallel installations?
If the latter, could this in any way screw up programs needing older JAVA versions?

von Marwitz
The bundled Java sits in a directory within the VASSAL install. It won't affect any other version of Java you have installed.
 

zgrose

Elder Member
Joined
Jun 13, 2004
Messages
4,235
Reaction score
948
Location
Kingwood, TX
First name
Zoltan
Country
llUnited States
Just grabbed the windows.exe, did a custom install (to keep my 3.2.17 in place), started up VASL and new game. No errors. Installer didn't kill my old setup. First pass looking good.

2019-10-18 09:13:55,033 [0-main] INFO VASSAL.launch.StartUp - Starting
2019-10-18 09:13:55,037 [0-main] INFO VASSAL.launch.StartUp - OS Windows 10 10.0
2019-10-18 09:13:55,037 [0-main] INFO VASSAL.launch.StartUp - Java version 13
2019-10-18 09:13:55,037 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.3.0-svn9280
2019-10-18 09:13:55,111 [0-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManager - Manager
 

zgrose

Elder Member
Joined
Jun 13, 2004
Messages
4,235
Reaction score
948
Location
Kingwood, TX
First name
Zoltan
Country
llUnited States
After my 10AM conf call (US Central), I'll install on OS X Catalina (latest) and OS X Mojave (previous).
 

zgrose

Elder Member
Joined
Jun 13, 2004
Messages
4,235
Reaction score
948
Location
Kingwood, TX
First name
Zoltan
Country
llUnited States
Getting Java13 onto OS X is not as easy as it is for Java8, so if you can bundle a runtime for OS X, that would be great.

Otherwise got it running:
2019-10-18 10:47:55,335 [0-main] INFO VASSAL.launch.StartUp - Starting
2019-10-18 10:47:55,340 [0-main] INFO VASSAL.launch.StartUp - OS Mac OS X 10.15
2019-10-18 10:47:55,340 [0-main] INFO VASSAL.launch.StartUp - Java version 13
2019-10-18 10:47:55,340 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.3.0-svn9280

Swapping to the laptop for the Mojave test....
 

zgrose

Elder Member
Joined
Jun 13, 2004
Messages
4,235
Reaction score
948
Location
Kingwood, TX
First name
Zoltan
Country
llUnited States
Same with Mojave (OS Mac OS X 10.14.6).

The homebrew java install process seems to be the least annoying if one is comfortable with copy/pasting commands into Terminal.
 

uckelman

Senior Member
Joined
Sep 12, 2011
Messages
714
Reaction score
439
Location
Durham
Country
llUnited Kingdom
Getting Java13 onto OS X is not as easy as it is for Java8, so if you can bundle a runtime for OS X, that would be great.
Try 3.3.0-svn9280 from the location linked above. I've tried bundling Java 13 into the DMG, but I'm unsure I did it correctly and I have no way of testing it myself.
 

zgrose

Elder Member
Joined
Jun 13, 2004
Messages
4,235
Reaction score
948
Location
Kingwood, TX
First name
Zoltan
Country
llUnited States
Try 3.3.0-svn9280 from the location linked above. I've tried bundling Java 13 into the DMG, but I'm unsure I did it correctly and I have no way of testing it myself.
I don't think it is built correctly. If I just double-click it, it fails. If I run the command in VASSAL.sh
Code:
exec java -classpath Contents/Resources/Java/Vengine.jar -Dapple.awt.graphics.UseQuartz=false -Xdock:name=VASSAL -Xdock:icon=Contents/Resources/VASSAL.icns VASSAL.launch.ModuleManager "${ARGS[@]}"
it loads with the java in the path which is 1.8 and fails.

I tried a quick hack by specifying the java in the package like so:
Code:
exec Contents/MacOS/jre/bin/java -classpath Contents/Resources/Java/Vengine.jar -Dapple.awt.graphics.UseQuartz=false -Xdock:name=VASSAL -Xdock:icon=Contents/Resources/VASSAL.icns VASSAL.launch.ModuleManager "${ARGS[@]}"
which just gave me
Code:
zsh: permission denied: Contents/MacOS/jre/bin/java
This is all in Catalina. If you have any variations you want me to try, let me know.
 

uckelman

Senior Member
Joined
Sep 12, 2011
Messages
714
Reaction score
439
Location
Durham
Country
llUnited Kingdom
It looks like the old VASSAL.sh got into Contents/MacOS---not sure how, as I edited the path to the one you gave last night, I thought prior to uploading the DMG.

The permissions problem was that jlink copies in the java executable but somehow manages to remove execute permission when it does that, so I've added a chmod to our build script.

Try the VASSAL-3.3.0-svn9280-macosx.dmg I just uploaded. Is that better?
 

zgrose

Elder Member
Joined
Jun 13, 2004
Messages
4,235
Reaction score
948
Location
Kingwood, TX
First name
Zoltan
Country
llUnited States
Try the VASSAL-3.3.0-svn9280-macosx.dmg I just uploaded. Is that better?
Successfully launched!

Code:
2019-10-23 08:32:58,289 [0-main] INFO  VASSAL.launch.StartUp - Starting
2019-10-23 08:32:58,294 [0-main] INFO  VASSAL.launch.StartUp - OS Mac OS X 10.15
2019-10-23 08:32:58,295 [0-main] INFO  VASSAL.launch.StartUp - Java version 13.0.1
2019-10-23 08:32:58,295 [0-main] INFO  VASSAL.launch.StartUp - VASSAL version 3.3.0-svn9284
2019-10-23 08:32:58,525 [0-AWT-EventQueue-0] INFO  VASSAL.launch.ModuleManager - Manager
 

uckelman

Senior Member
Joined
Sep 12, 2011
Messages
714
Reaction score
439
Location
Durham
Country
llUnited Kingdom
We've worked out the problem with launching subprocesses on Macs. Try svn9286.
 
Top