Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#65278 - [sweethome3d] Needs correct Java version (8)

Attached to Project: Community Packages
Opened by Christian González (nerdoc) - Sunday, 26 January 2020, 16:30 GMT
Last edited by Muflone (muflone) - Friday, 01 May 2020, 18:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Muflone (muflone)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

When there are 2 or more Java versions installed (here Java8 and current Java13), and the default is NOT java8, sweethome3d is crashes, because it needs Java8.

Additional info:
local/jdk-openjdk 13.0.1.u9-1
OpenJDK Java 13 development kit
local/jdk8-openjdk 8.u232-1
OpenJDK Java 8 development kit
local/sweethome3d 6.2-1

Steps to reproduce:

pacman -S jdk8-openjdk
pacman -S jdk-openjdk
pacman -S sweethome3d
sweethome3d

Crash:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by javax.media.j3d.JoglPipeline (file:/usr/lib/sweethome3d/java3d-1.6/j3dcore.jar) to method sun.awt.AppContext.getAppContext()
WARNING: Please consider reporting this to the maintainers of javax.media.j3d.JoglPipeline
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!


If you run `JAVA_HOME=/usr/lib/jvm/java-8-openjdk/ sweethome3d`, it works, as the correct Java version is found.

jdk8-openjdk could be a dependency, and the desktop file (or sweethome3d starter) should use this specific java version. If you install sweethome3d from the website including Java, Java8 is included.
This task depends upon

Closed by  Muflone (muflone)
Friday, 01 May 2020, 18:48 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Not a Java version issue
Comment by Christian González (nerdoc) - Tuesday, 28 January 2020, 19:27 GMT
This is a duplicate -  FS#64140  - [sweethome3d] not starting
Comment by Muflone (muflone) - Friday, 01 May 2020, 18:48 GMT
Sweethome3D runs fine with every Java version, it was tested with versions from 8 to 13, both JRE, JDK and OpenJDK implementations.

Unfortunately Java3D library has many issues with various GPU drivers and Java versions.
While this is documented during the package install and upgrade phase, with a message to switch to Java3D 1.5 using SWEETHOME3D_JAVA3D=1.5, nobody seems caring about it

Loading...