FS#71202 - gephi crashes on startup because it uses the wrong Java version, fix included
Attached to Project:
Community Packages
Opened by Colin Caine (colin) - Wednesday, 09 June 2021, 20:17 GMT
Last edited by Konstantin Gizdov (kgizdov) - Monday, 21 June 2021, 12:46 GMT
Opened by Colin Caine (colin) - Wednesday, 09 June 2021, 20:17 GMT
Last edited by Konstantin Gizdov (kgizdov) - Monday, 21 June 2021, 12:46 GMT
|
Details
Description:
Gephi crashes on startup with: ``` OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release. WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/usr/share/java/gephi/platform/lib/boot.jar) to field java.net.URL.handler WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory 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: 105: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed ``` If you have too new a JRE installed. The gephi package correctly depends on Java 8, but doesn't tell gephi to use it. You can get it to work with: `gephi --jdkhome /usr/lib/jvm/java-8-openjdk/` The easiest fix may be that this package sets a default `jdkhome` argument in the script that launches gephi. Maybe upstream could also be updated to autodetect the right JDK version, but I haven't reported this to them. Package versions: ``` › pacman -Q jre-openjdk jre8-openjdk gephi jre-openjdk 15.0.2.u7-1 jre8-openjdk 8.u292-1 gephi 0.9.2-3 ``` Steps to reproduce: 1. `pacman -S jre-openjdk jre8-openjdk gephi` 2. `gephi` (this will error) 3. `gephi --jdkhome /usr/lib/jvm/java-8-openjdk/` (this will work) |
This task depends upon
Closed by Konstantin Gizdov (kgizdov)
Monday, 21 June 2021, 12:46 GMT
Reason for closing: Fixed
Additional comments about closing: gephi 0.9.2-3
Monday, 21 June 2021, 12:46 GMT
Reason for closing: Fixed
Additional comments about closing: gephi 0.9.2-3