You are not logged in.


*** NOTICE: is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2021-11-18 18:27:20

New Member
Registered: 2021-11-18
Posts: 2

JOSM: Auto-Select Default-Systemproxy Settings

Hi all,

i created a custom jnlp file to start JOSM on Windows.

I added the property to use the system proxy to the jnlp:
  <property name="" value="true"/>

I expected JOSM to start and have automatically SELECTED the Default-Systemsettings.
Actually still "No-Proxy" is selected. At least the Option Default-Systemsettings is enabled. But every user has to manually change the setting on first start.

Do i need some other property to be set?

In the file C:\Users\<user_name>\AppData\Roaming\JOSM\preferences.xml the setting is set as
  <tag key='proxy.policy' value='use-system-settings'/>
Can i somehow force such settings from commandline / from jnlp?

Thanks in advance.


#2 2021-11-19 03:10:05

Registered: 2020-06-08
Posts: 687

Re: JOSM: Auto-Select Default-Systemproxy Settings

Take a look at the command line options.
I guess `--set=<key>=<value>` should work.


#3 2021-11-19 08:13:22

New Member
Registered: 2021-11-18
Posts: 2

Re: JOSM: Auto-Select Default-Systemproxy Settings

Thank you!

How could i not find this.. roll

My solution now is:

    <java version="1.8+" vendor="Azul" java-vm-args="..."/>
    <jar href="josm-tested.jar"/>
    <property name="java.util.Arrays.useLegacyMergeSort" value="true"/>
    <property name="" value="true"/>
<application-desc main-class="org.openstreetmap.josm.gui.MainApplication">


Board footer

Powered by FluxBB