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!
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!
FS#75933 - [freecol] breaks if default java is to old
Attached to Project:
Community Packages
Opened by Lone_Wolf (Lone_Wolf) - Sunday, 18 September 2022, 09:44 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 27 September 2022, 12:38 GMT
Opened by Lone_Wolf (Lone_Wolf) - Sunday, 18 September 2022, 09:44 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 27 September 2022, 12:38 GMT
|
Detailsfreecol 0.13-2
Description: currently freecol requires java 11 as minimum version. Incase a user has set a lower version (like 8) through archlinux-java freecol fails to launch . Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError: net/sf/freecol/FreeCol has been compiled by a more recent version of the Java Runtime Steps to reproduce: install java 8 and make it the default, then start freecol. In my aur pacakge freecol-git I solved this by forcing a specific java version in the wrapper script and make freecol-git depend on that specific java version. See https://aur.archlinux.org/cgit/aur.git/tree/freecol-git.sh?h=freecol-git |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Tuesday, 27 September 2022, 12:38 GMT
Reason for closing: Fixed
Tuesday, 27 September 2022, 12:38 GMT
Reason for closing: Fixed
I also tested without java 11 present and default set to newer java version and found no issues.