Opened 15 years ago

Last modified 12 years ago

#4579 closed enhancement

Warning Msg for bad Java version — at Version 3

Reported by: jstein Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Java version Cc:

Description (last modified by Manu1400)

Josm needs an special version to run properly.

On Linux systems there is often a bunch of Java-Versions available.
Command java executes one that is set to default. The other ones need the full path.

Many newcomers are confronted with strange problems, because josm was run in a wrong java environment by accident.

It would be a big help, if josm would give the following Message at startup, if its not run in the optimal Java engine.

 Warning
Josm was executet with 
HamAndEggs Java 1.2.3
This may cause strange effects. We suggest to use Sun Java 1.6.... instead.

[x] show this warning on every startup

Change History (3)

comment:1 by bastiK, 15 years ago

JOSM runs with sun java and openjdk/icedtea. What else is there?

We will use java 6 after next release, so we certainly need to explain this to the users that try to run JOSM with java 5.

comment:2 by jstein, 15 years ago

i had plenty of trouble using openjdk and WMS. It did not work most time and was extreme slow. (5 minutes per square)
Since i switched to Sun Java 6 for josm it runs even a lot faster.
It needs only 50% the time to load mapdata from osmserver and its more stable.

I am using 'josm latest'

comment:3 by Manu1400, 12 years ago

Description: modified (diff)
en: [[JavaVersionTest(|<h3><b>Your Java version is very old and no longer supported by current JOSM versions, you should update to version 7 or better!</b></h3>|<h3><b>JOSM soon will no longer support this version of Java, you should update to version 7 or better!</b></h3>|)]]

from http://josm.openstreetmap.de/wiki/StartupPageSource?action=edit

Note: See TracTickets for help on using tickets.