On Wed, 24 Nov 2010 21:18:52 +0000, Noel David Torres Taño wrote:

> On Martes 23 Noviembre 2010 23:40:05 usted escribió:
> > Anyway, you also appear to have Java 6 from SUN. Could you try to use
> > it, for example with:
> > 
> > JAVACMD=/usr/lib/jvm/java-6-sun/bin/java josm
> This works ok. Maybe the problem is that you need to have installed the same 
> jre than the java you'll use by default, and not just to have a jre. I have 
> openjdk-6-jre-headless installed (which provides /usr/lib/jvm/java-6-
> openjdk/bin/java ) but not openjdk-6-jre, because of this dependency chain:

josm uses whatever the default java is on the system.
Could you please paste the output of:

$ LANG=C update-alternatives --display java


It seems like in your case openjdk's is the default one:

$ josm
Using /usr/lib/jvm/java-6-openjdk/bin/java to execute josm.

If you want to use Sun's java, please change the alternative. Otherwise,
install openjdk-6-jre.

JOSM really supports both, so it's not wise to just force the dependency on

In the end, I think this is just a misconfiguration of your system, and the bug
can be closed.


 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature

Pkg-grass-devel mailing list

Reply via email to