ysoccer not running on Ubuntu

Insert here your troubles, infos and request about YSoccer's technical questions.
Post Reply
spametki
Someone..
Posts: 1
Joined: Sun Feb 06, 2022 4:02 am

ysoccer not running on Ubuntu

Post 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)
Massimo32
Chapman's successor
Chapman's successor
Posts: 852
Joined: Wed Dec 29, 2004 1:14 pm
Location: Turin, Italy

Re: ysoccer not running on Ubuntu

Post 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
Post Reply