Modify

Opened 3 years ago

Closed 3 years ago

#22444 closed enhancement (needinfo)

advice for "nearly not supported anymore" java version

Reported by: marc_marc Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. install a linux centos 7
  2. do any official update
  3. run josm via IcedTea

What is the expected result?

give me usefull info : should I switch to another "distro-available" jdk ? and/or another "web luncher" ?
and/or a warning "LTS-distro is too conservative for josm" ?

What happens instead?

seeiing an error message that request me to update java 11

Please provide any additional information below. Attach a screenshot if possible.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-10-10 21:15:56 +0200 (Mon, 10 Oct 2022)
Build-Date:2022-10-11 01:30:58
Revision:18571
Relative:URL: ^/trunk

Identification: JOSM/1.5 (18571 fr) Linux CentOS Linux release 7.9.2009 (Core)
Memory Usage: 244 MB / 1717 MB (24 MB allocated, but free)
Java version: 1.8.0_345-b01, Red Hat, Inc., OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1600×900 (scaling 1.00×1.00)
Maximum Screen Size: 1600×900
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: fr.utf8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: fr
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: GNOME-Classic:GNOME
Java package: java-1.8.0-openjdk:x86_64-1.8.0.345.b01
WebStart package: icedtea-web:x86_64-1.7.1
VM arguments: [-Dicedtea-web.bin.name=javaws.itweb, -Dicedtea-web.bin.location=/usr/bin/javaws.itweb]
Dataset consistency test: No problems found

Plugins:
+ ImproveOsm (224)
+ Mapillary (2.0.0)
+ apache-commons (36003)
+ apache-http (35924)
+ areaselector
+ austriaaddresshelper (1597341117)
+ conflation (0.6.9)
+ continuosDownload (105)
+ ejml (35924)
+ geotools (36024)
+ jackson (36006)
+ jaxb (35952)
+ jna (36005)
+ jts (36004)
+ log4j (36007)
+ opendata (36025)
+ pt_assistant (1ff2e15)
+ reverter (36011)
+ scripting
+ todo (30306)
+ utilsplugin2 (36011)
+ wikipedia (605)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Leaftype&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Light_sources&zip=1
+ https://raw.github<user.name>content.com/Heiner-Sch/JOSM-preset-trees-Europe/master/JOSM-Preset_Trees.xml

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Landcover&zip=1

Validator rules:
+ https://github.com/Jungle-Bus/transport_mapcss/raw/gh-pages/transport.validator.zip
+ https://josm.openstreetmap.de/josmfile?page=Rules/KeepRight&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/SuspiciousSwimming_Pool&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/SourceObjectTag&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/QAToolInspiredValidations&zip=1

Last errors/warnings:
- 00014.631 W: Le greffon scripting nécessite la version Java 11. La version actuelle de Java est 8. Vous devez mettre à jour Java pour utiliser ce greffon.
- 00014.636 W: Le greffon areaselector nécessite la version Java 11. La version actuelle de Java est 8. Vous devez mettre à jour Java pour utiliser ce greffon.

Attachments (0)

Change History (2)

comment:1 by taylor.smock, 3 years ago

IcedTea supports Java 11+ (see https://raw.githubusercontent.com/icedtea-git/icedtea/main/ChangeLog ).

I think you can set JAVA_HOME to whatever Java version you want to use (just to check, try doing JAVA_HOME=$PATH_TO_JAVA_11_INSTALL javaws -version). On Ubuntu 22.04 (headless), it printed the following to the console:

Warning! JAVA_HOME of /usr/lib/jvm/java-11-openjdk-arm64 in play!
Headless check failed. You are forced to run without any graphics. IcedTea-Web can run like this, but your app probably not. This is likely bug in your system.
null null

EDIT: If you install java-11-openjdk, I believe JAVA_HOME should be /usr/lib/jvm/java-11-openjdk-11.0.8.10-1.el7.$(arch)/, if I'm reading the package page correctly on pkgs.org.

Last edited 3 years ago by taylor.smock (previous) (diff)

comment:2 by taylor.smock, 3 years ago

Resolution: needinfo
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.