Page 1 of 1

ysoccer not running on Ubuntu

Posted: Sun Feb 06, 2022 4:11 am
by spametki
Hello everyone

I've tried to run the program on my pc with this output. The game window won't start.

Downloaded with

git clone https://git.code.sf.net/p/ysoccer/code ysoccer-code command

The terminal output:

alan@alan-MS-7721:~/ysoccer-code/java$ ./gradlew desktop:run

> Task :core:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :desktop:run
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.lwjgl.LWJGLUtil$3 (file:/home/alan/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.3/3df168ac74e4a8c96562cdff24ad352e255bf89c/lwjgl-2.9.3.jar) to method java.lang.ClassLoader.findLibrary(java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.lwjgl.LWJGLUtil$3
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.5/userguide/c ... e_warnings

BUILD SUCCESSFUL in 23s
5 actionable tasks: 5 executed

My system:

Ubuntu 20.04.3 LTS
amd 64 bit processor
openjdk 11.0.13 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.13+8-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)

Re: ysoccer not running on Ubuntu

Posted: Sun Feb 06, 2022 4:35 pm
by Massimo32
spametki wrote:Hello everyone

I've tried to run the program on my pc with this output. The game window won't start.

[...]

My system:

Ubuntu 20.04.3 LTS
amd 64 bit processor
openjdk 11.0.13 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.13+8-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)
Hello spametki,
it seems a bug related to OpenJDK 11.

You may try using another version:

https://unix.stackexchange.com/question ... ookup-c-11

Re: ysoccer not running on Ubuntu

Posted: Fri Jun 21, 2024 8:59 pm
by spametki
Hello!

Solved this downloading linux 64 version from sourceforge. It works great!