Create account / Log in

So close to running Vassal on Ubuntu, but a late-stage crash

Issues with the Vassal engine.

Moderators: Tim M, uckelman

So close to running Vassal on Ubuntu, but a late-stage crash

Postby Knarfton » March 7th, 2018, 8:45 am

Hi all,

I'm running Ubuntu 16.04 LTS off a Chromebook shell. I presently have Java installed thru apt-get. Running
Code: Select all
java -version
tells me it's:

Code: Select all
java version "9.0.4"
Java(TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)

As I try and fire the engine up, Java throws an error at me detailed "Unable to Launch Application. Reason: Could not parse launch file. Error at line 1."

The Launch File details are as follows:

# Execute this file to launch VASSAL on MacOS or Linux

# Find absolute path where VASSAL is installed
INSTALL_DIR=$(cd "$(dirname "$0")"; pwd)

# Launch VASSSAL
java -Duser.dir="$INSTALL_DIR" -classpath "$INSTALL_DIR"/lib/Vengine.jar VASSAL.launch.ModuleManager "$@"

How do I go about fixing this?

It's worth pointing out that I'm absolutely a novice at this whole computer shell OS installing stuff.

Thanks for any and all help that can be given.
Posts: 1
Joined: March 7th, 2018, 8:39 am

Re: So close to running Vassal on Ubuntu, but a late-stage c

Postby Malnorma » March 9th, 2018, 9:10 am

The file being shown ( is a shell script to invoke Java for you. I'm not sure what 'launch file' refers to, but it seems like your desktop environment might be trying to treat it as some kind of definition file instead (like a shortcut on Windows, a file that describes how to run a program). Did you create some kind of shortcut to run Vassal? If so, create a new one that points at as the command to be run. You may also need to make that file executable (e.g with chmod u+x).

As a test, try opening a terminal and just running:
bash /path/to/
that should avoid any issues with executable permissions or desktop environments.
Posts: 64
Joined: October 14th, 2015, 9:26 am

Return to Technical Support & Bugs

Who is online

Users browsing this forum: Bing [Bot] and 1 guest