Skip to content
Timur Sağlam edited this page Oct 3, 2024 · 5 revisions

Frequently Asked Questions

Why can't I execute the Jar?

For example, when you encounter Error: A JNI error has occurred, please check your installation and try again.

  • Make sure you download and install Java SE 11 or a newer version.
  • If it still does not work, try to run it from Terminal (macOS) or cmd (Windows):
    1. Open Terminal/cmd
    2. type java -jar your/path/Carcassonne.v1.6.jar and press enter
    3. Make sure you use the actual path where the file is located on your computer or drag the file into the Terminal window
  • If you still need help contacting me or opening up a new issue, I will help!

Why is there no online multiplayer mode?

I want to add that feature sometime, but I don't know when I'll find the time. In the meantime, check the upcoming features.

Why Swing and not JavaFX?

I started with Swing (in 2011, I think) and first encountered JavaFX much later. So naturally, I went with Swing. However, if I were to start from scratch, I would consider JavaFX. The reason for this is that for huge grid sizes (and I mean huge, like 70 * 70 = 4900 tile spots on the grid), the UI performance, specifically when zooming, drops since I am pushing Swing to its limits. It would be interesting to see if JavaFX fares any better. However, it is just not feasible to switch. Additionally, Swing will continue to receive further support, which is nice to hear.