On Tue, 2009-10-13 at 22:14 +0200, Martin Koppenhoefer wrote: > Hi Dave: > java version "1.6.0_0" > OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu11) > OpenJDK Client VM (build 14.0-b08, mixed mode, sharing) > > but I have also a sun-java (which I guess I am not using by standard > as java -version gave me this output).
Can you dig down and make sure which JVM you have running JOSM, and also figure out which packages you are using? You can do it like this: d...@nimitz:~$ ps aux | grep josm dave 17100 16.9 7.2 1445780 289108 pts/28 Sl+ 14:29 0:19 /usr/lib/jvm/java-6-openjdk/jre/bin/java -jar /home/dave/projects/osm/svn.openstreetmap.org/applications/editors/josm/core/dist/josm-custom.jar -Xms1500M -Xmx2048M --no-fullscreen /home/dave/projects/osm/work.osm ... That'll give you JOSM's pid, which you can dig into the rest of the information with. d...@nimitz:~$ ls -l /proc/17100/ total 0 -r-------- 1 dave dave 0 2009-10-13 14:31 auxv -r--r--r-- 1 dave dave 0 2009-10-13 14:31 cgroup --w------- 1 dave dave 0 2009-10-13 14:31 clear_refs -r--r--r-- 1 dave dave 0 2009-10-13 14:30 cmdline -rw-r--r-- 1 dave dave 0 2009-10-13 14:31 coredump_filter lrwxrwxrwx 1 dave dave 0 2009-10-13 14:31 cwd -> /home/dave/projects/osm/svn.openstreetmap.org/applications/viewer/jmapviewer -r-------- 1 dave dave 0 2009-10-13 14:31 environ lrwxrwxrwx 1 dave dave 0 2009-10-13 14:29 exe -> /usr/lib/jvm/java-6-openjdk/jre/bin/java ... Then you know which jvm you are using. If this doesn't work, you can also: cat /proc/17100/maps Then: $ dpkg -S /usr/lib/jvm/java-6-openjdk/jre/bin/java openjdk-6-jre-headless: /usr/lib/jvm/java-6-openjdk/jre/bin/java $ dpkg -l | grep openjdk-6-jre-headless ii openjdk-6-jre-headless 6b14-1.4.1-0ubuntu11 OpenJDK Java runtime, using Hotspot JIT (headless) $ apt-cache show openjdk-6-jre-headless Package: openjdk-6-jre-headless Priority: extra Section: interpreters Installed-Size: 73008 Maintainer: Ubuntu Core Developers <ubuntu-devel-disc...@lists.ubuntu.com> Original-Maintainer: OpenJDK Team <open...@lists.launchpad.net> Architecture: ... Make sure that if you get a different package name than "openjdk-6-jre-headless" that you substitute it in the subsequent commands. -- Dave _______________________________________________ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev