﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
16290	Ubuntu Bionic need JRE update	matthewdarwin	team	"==== What steps will reproduce the problem?
1. set /etc/apt/sources.list.d/josm.list to deb https://josm.openstreetmap.de/apt bionic universe
2. sudo apt install josm
3. notice that it pulls in JRE8

==== What is the expected result?

Expect JOSM has reasonable font size on large 4K UHD monitors.

==== What happens instead?

Get a very small font that is hard to read
JRE8 is very old and JOSM doesn't work well with JRE8 with 4K UHD monitors.  

==== Please provide any additional information below. Attach a screenshot if possible.

I changed /usr/bin/josm to have the line:

JAVA_CMDS=""${JAVA_CMDS} /usr/lib/jvm/java-11-openjdk/bin/java /usr/lib/jvm/java-11-openjdk-$ARCH/bin/java /usr/lib/jvm/java-11-oracle/bin/java""

then already having installed JRE11, the following commands work as expected:

  export JAVA_OPTS=""-Xms2048M -Xmx6114M -Dsun.java2d.uiScale=2""
  /usr/bin/josm


{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-05-06 23:56:40 +0200 (Sun, 06 May 2018)
Revision:13710
Build-Date:2018-05-06 21:59:07
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (13710 en) Linux Ubuntu 18.04 LTS
Memory Usage: 2048 MB / 6114 MB (1681 MB allocated, but free)
Java version: 10.0.1+10-Ubuntu-3ubuntu1, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 3840x2160
Maximum Screen Size: 3840x2160
Java package: openjdk-11-jre:amd64-10.0.1+10-3ubuntu1
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-20ubuntu0.1
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true, -Dsun.java2d.uiScale=2]

Plugins:
+ ImproveOsm (133)
+ Mapillary (v1.5.12+post13643)
+ QuickLabel (1524508484)
+ apache-commons (34109)
+ apache-http (34109)
+ colorscheme (34109)
+ conflation (0.5.8)
+ continuosDownload (68)
+ contourmerge (1032)
+ geochat (34109)
+ geojson (80)
+ jts (34038)
+ reverter (34109)
+ tageditor (34109)
+ todo (30304)
+ turnlanes-tagging (263)
+ undelete (34109)
+ utilsplugin2 (34109)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/SlovakiaBicycleRoutes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Noname&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/LessObtrusiveNodes&zip=1

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
}}}
"	enhancement	closed	normal	18.08	Ubuntu package		fixed	template_report java11	
