Package: josm
Version: 0.0.svn7480+dfsg1-1
Followup-For: Bug #708136

Adding to that, I tried to start the newly updated JOSM with OpenJDK 6 (which is
my default Java version here because of issues with non-reparenting window
managers in OpenJDK 7), and it seems after the recent update, JOSM no longer
works with Java 6:

        $ josm
        Using /usr/lib/jvm/java-6-openjdk-amd64/bin/java to execute josm.
        Picked up _JAVA_OPTIONS:  -Dawt.useSystemAAFontSettings=on
        Exception in thread "main" java.lang.UnsupportedClassVersionError: JOSM 
: Unsupported major.minor version 51.0
                at java.lang.ClassLoader.defineClass1(Native Method)
                at java.lang.ClassLoader.defineClass(
                at Method)
                at java.lang.ClassLoader.loadClass(
                at sun.misc.Launcher$AppClassLoader.loadClass(
                at java.lang.ClassLoader.loadClass(
        Could not find the main class: JOSM. Program will exit.

Since the josm package also does not depend on OpenJDK 6 anymore, it would be
good not to choose it in /usr/bin/josm. After solving the issues with my
non-reparenting window manager [0], JOSM worked fine with OpenJDK 7.


tl;dr: Remove OpenJDK 6 from JAVA_CMDS in /usr/bin/josm.

 - Roland

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (200, 'testing'), (170, 'unstable'), (150, 
'testing-proposed-updates'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages josm depends on:
ii  ant                              1.9.4-2
ii  fonts-droid                      1:4.4.4r2-2
ii  jmapviewer                       1.03+dfsg-1
ii  libandroid-json-org-java         20121204-20090211-1
ii  libcommons-codec-java            1.9-1
ii  libgettext-commons-java          0.9.6-2
ii  libmetadata-extractor-java       2.6.4-2
ii  liboauth-signpost-java 
ii  libsvgsalamander-java            0~svn95-1
ii  openjdk-7-jre                    7u65-2.5.2-4
ii  openstreetmap-map-icons-classic  1:0.0.svn28731-1

Versions of packages josm recommends:
pn  josm-l10n                           <none>
pn  josm-plugins                        <none>
pn  webkit-image-gtk | webkit-image-qt  <none>

josm suggests no packages.

-- no debconf information

Pkg-osm-maint mailing list

Reply via email to