[DebianGIS-dev] Bug#603932: Bug#603932: josm: Sould depend on openjdk-6-jre

David Paleino dapal at debian.org
Thu Nov 25 08:50:11 UTC 2010


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
OpenJDK.

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

Thanks,
David

-- 
 . ''`.   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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20101125/e69e7236/attachment.pgp>


More information about the Pkg-grass-devel mailing list