Carcassonne Central
Carc Central Community => Online Games and Competitions => JCloisterZone FAQ, Suggestions & Bug Reports => Topic started by: forumisto on January 23, 2018, 05:46:12 AM
-
Hello
I have tried to run JCZ 3.4.3 in linux mint. For that I have installed openjdk-8 (the default jdk).
The machine is a Core2 Duo E8400 with 8GB RAM. The SO is Linux Mint 18 64 bits.
Have you tried to execute in linux?
Thanks
-
Hi Forumisto,
I'm on Ubuntu 16.04 LTS.
I have a Intel Core I5-3210M and also 8 gb of ram 8)
64-bit.
JCZ 3.4.3 is working on my machine. So it is executing here. Do you see something starting, a logo perhaps???
I tried to download the lastest version but that one isn't working for me :( ??? But 3.4.3 works :D
-
It would be worth sharing your execution error, it will likely provide some clue as to why it's not running on this strain of Linux+java.
-
It would be worth sharing your execution error, it will likely provide some clue as to why it's not running on this strain of Linux+java.
Well Decar, I haven't had a chance to look at it. But for me it was loading, I saw the logo. But after that nothing happend.
-
I execute java -jar JCloisterZone.jar, and the result is:
ene. 24, 2018 1:54:27 P. M. sun.util.PropertyResourceBundleCharset$PropertiesFileDecoder decodeLoop
INFO: Invalid or unmappable UTF-8 sequence detected. Switching encoding from UTF-8 to ISO-8859-1
[Fatal Error] :1:1: Final de archivo prematuro.
Exception in thread "Thread-0" java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Final de archivo prematuro.
at com.jcloisterzone.XMLUtils.parseDocument(XMLUtils.java:49)
at com.jcloisterzone.XMLUtils.parseDocument(XMLUtils.java:36)
at com.jcloisterzone.AppUpdate.fetch(AppUpdate.java:15)
at com.jcloisterzone.ui.Bootstrap$2.run(Bootstrap.java:146)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Final de archivo prematuro.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(java.xml@9-internal/DOMParser.java:256)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(java.xml@9-internal/DocumentBuilderImpl.java:339)
at javax.xml.parsers.DocumentBuilder.parse(java.xml@9-internal/DocumentBuilder.java:122)
at com.jcloisterzone.XMLUtils.parseDocument(XMLUtils.java:47)
... 3 more
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fc9a60e7009, pid=2440, tid=2464
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195246.buildd.src)
# Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libjava.so+0x1d009] JNU_GetEnv+0x19
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/ffgr33/jcz/343/core.2440)
#
# An error report file with more information is saved as:
# /home/ffgr33/jcz/343/hs_err_pid2440.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (`core' generado)
-
it looks like it failed to load an xml file that's checking for an updated version of JCloisterzone.
I have a feeling it may be trying to download it and your java doesn't have read/write access to the folder.
Can you provide the content of your config.yaml file too, the update URL may be in there?
But if not the default is: http://jcloisterzone.com/version.xml
-
But if you don't have Internet connection, anyway the program starts.
I remove openjdk and I installed oracle jdk 9 and the error is the shame.
-
Now I'm wondering if your machine has internet access and is unable to load the version file.
I tried to create a yaml config file to specify a local version of the version.xml - however I just receive errors saying it can't load the file.
-
But if you don't have Internet connection, anyway the program starts.
I don't follow you. I've tried to start JCZ without a network connection: It was successful.
Are you able to try with an internet connection?
-
For what it is worth, I have been successfully running JCZ on Ubuntustudio, Mint and Edubuntu for over a year now and I have never encountered any problem with a single one of the releases.
I do seem to recall, however, that I used synaptic package manager to install 4 files of 'IcedTea' before I tried to use it. I'm not certain what 'IcedTea' does, as I thought that it ran Java in a browser, but it might help. Nothing ventured, nothing gained.
-
Hello
Finally I could run JCZ on my linux. I removed all openjdk packages (I had several installed) and installed the Oracle JAVA 8 from its PPA.
-
Good for you!
-
Stange error.
You don't need to turn off connection. You can instead comment out update url in config file. This disables update check.