Fails to start up on startup on Ubuntu 18.04 "Unrecognised option: -Xincgc"

Bug #1772244 reported by James Turner
This bug affects 3 people
Affects Status Importance Assigned to Milestone
freecol (Ubuntu)
Fix Released

Bug Description

Ubuntu release: Ubuntu 18.04 LTS (Mate)
Package version: freecol 0.11.6+dfsg-2

Expected behaviour:

 - Run the command "freecol"
 - Game launches

Actual behaviour:

Game crashes, displaying the following error message:

Unrecognized option: -Xincgc
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

This is triggered by the final line of /usr/games/freecol, which launches Java, specifying the -Xincgc option (incremental garbage collector). Bionic's default OpenJDK 11 runtime no longer supports this option so the game fails to load.

Removing the "-Xincgc" option from the command line is sufficient to get the game working.

Tags: bionic
Jeremy Bícha (jbicha)
Changed in freecol (Ubuntu):
status: New → Fix Committed
tags: added: bionic
Changed in freecol (Ubuntu Bionic):
status: New → Triaged
importance: Undecided → High
Changed in freecol (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package freecol - 0.11.6+dfsg2-2

freecol (0.11.6+dfsg2-2) unstable; urgency=medium

  * Declare compliance with Debian Policy 4.2.1.
  * Update freecol wrapper and remove obsolete -Xincgc option. The game will
    start with OpenJDK 10 and newer again.
    Thanks to Johannes Kloos and James Turner for the report. (Closes: #907661)
    (LP: #1772244)

 -- Markus Koschany <email address hidden> Fri, 31 Aug 2018 19:22:57 +0200

Changed in freecol (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.