Can't get VASSAL to run on Ubuntu.

I’m trying to get VASSAL running for the first time. I currently only have access to Ubuntu and can’t get the program to run. I’ve done a lot of searching but there aren’t really any comprehensive guides or common issues as far I can find. Below are my specs and the steps I’ve taken.

Asus ROG laptop
CPU: Intel® Core™ i7-4700HQ CPU @ 2.40GHz × 8
RAM: 12GB
OS: Ubuntu 13.10 64-bit

Made sure Java is installed properly:

which java
/usr/bin/java

java -version
java version “1.7.0_55”
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1~0.13.10.1)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)

Download VASSAL-3.2.13-linux.tar.bz2 and move it to it’s own directory

Go to the directory in terminal and use the following command:
tar -xf VASSAL-3.2.13-linux.tar.bz2

Everything looks good, so I double click on VASSAL.sh. I’m prompted for what I want to do, I choose Run. Nothing happens.

I try running in terminal with:
sh VASSAL.sh
The cursor blinks for a few seconds and a new prompt line comes up, nothing else happens.

I try running manually with both of the following:
java -classpath lib/Vengine.jar VASSAL.launch.MouleManager
java -classpath lib/Vengine.jar VASSAL.launch.MouleManager “$@”
For both the cursor blinks for a few seconds and a new prompt line comes up, nothing else happens.

Saw someone suggest to change the first line in VASSAL.sh to the following and run:
#!/bin/bash -ex

When it runs I see the following in the termanl, along with blinking cursor for a few seconds then nothing:
+++ readlink /home/justin/VASSAL/VASSAL-3.2.13/VASSAL.sh
+++ echo /home/justin/VASSAL/VASSAL-3.2.13/VASSAL.sh
++ dirname /home/justin/VASSAL/VASSAL-3.2.13/VASSAL.sh

  • INSTALL_DIR=/home/justin/VASSAL/VASSAL-3.2.13
  • cd /home/justin/VASSAL/VASSAL-3.2.13
  • java -classpath lib/Vengine.jar VASSAL.launch.ModuleManager

The .VASSAL file is present, and log is as follows:

2014-10-17 02:05:34,846 [0-main] INFO VASSAL.launch.StartUp - Starting
2014-10-17 02:05:34,849 [0-main] INFO VASSAL.launch.StartUp - OS Linux 3.11.0-26-generic
2014-10-17 02:05:34,849 [0-main] INFO VASSAL.launch.StartUp - Java version 1.7.0_55
2014-10-17 02:05:34,849 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.13
2014-10-17 02:05:34,894 [0-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManager - Manager
2014-10-17 02:05:34,948 [0-AWT-EventQueue-0] ERROR VASSAL.tools.ErrorDialog -
java.lang.ExceptionInInitializerError: null
at VASSAL.launch.ModuleManager.launch(ModuleManager.java:503) ~[Vengine.jar:na]
at VASSAL.launch.ModuleManager$2.run(ModuleManager.java:347) ~[Vengine.jar:na]
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) ~[na:1.7.0_55]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) ~[na:1.7.0_55]
at java.awt.EventQueue.access$200(EventQueue.java:103) ~[na:1.7.0_55]
at java.awt.EventQueue$3.run(EventQueue.java:694) ~[na:1.7.0_55]
at java.awt.EventQueue$3.run(EventQueue.java:692) ~[na:1.7.0_55]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_55]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) ~[na:1.7.0_55]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) ~[na:1.7.0_55]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) [na:1.7.0_55]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) [na:1.7.0_55]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) [na:1.7.0_55]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) [na:1.7.0_55]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) [na:1.7.0_55]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) [na:1.7.0_55]
Caused by: java.awt.HeadlessException: null
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207) ~[na:1.7.0_55]
at java.awt.Window.(Window.java:535) ~[na:1.7.0_55]
at java.awt.Frame.(Frame.java:420) ~[na:1.7.0_55]
at java.awt.Frame.(Frame.java:385) ~[na:1.7.0_55]
at javax.swing.JFrame.(JFrame.java:174) ~[na:1.7.0_55]
at VASSAL.launch.ModuleManagerWindow.(ModuleManagerWindow.java:180) ~[Vengine.jar:na]
at VASSAL.launch.ModuleManagerWindow.(ModuleManagerWindow.java:178) ~[Vengine.jar:na]
… 16 common frames omitted

Thus spake IneffableCause:

java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
[na:1.7.0_55] Caused by: java.awt.HeadlessException: null at

It looks like you’re trying to run with the “headless” JRE that
Ubuntu ships. You need to install the one which supports graphics.
(I don’t recall the name of that package on Ubuntu. Search for
“headless” here and you’ll find a thread which has that.)


J.

Couldn’t find anything (but this thread) on the search you mentioned, but you got me on the right track. All I needed was “sudo apt-get install openjdk-7-jre”. After that VASSAL runs. Thank you.

I am also having problems. I keep getting this error message:

Error: Could not find or load main class VASSAL.launch.ModuleManager

Thus spake bhodili:

I am also having problems. I keep getting this error message:

Error: Could not find or load main class VASSAL.launch.ModuleManager

We need more details in order to help you. How are you attempting to
run VASSAL?


J.