El 17/09/07, Manolo Díaz <[EMAIL PROTECTED]> escribió:
> El Mon, 17 Sep 2007 10:43:18 -0500
> "Jesus Armando Paul Cespedes" <[EMAIL PROTECTED]> escribió:
>
> > Tengo instalado el jdk 1.5.12 agregado a /etc/profile como
> > JAVA_HOME=/usr/local/java, utilizo el IDE Eclipse para realizar
> > aplicaciones java el problema surge cuando instale openoffice y me
> > instalo gcj y ahora toma como default el gcj, a la hora de hacer un
> > java -version me manda la siguiente salida
> >
> > [EMAIL PROTECTED]:~$ java -version
> > java version "1.4.2"
> > gij (GNU libgcj) version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)
> >
> > Copyright (C) 2006 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions.  There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> > [EMAIL PROTECTED]:~$
> >
> > surgen algunas incompatibilidades, pero si quito gcj me quita
> > openoffice, hay alguna manera de hacer que tome como default el jdk de
> > sun???
> >
> >
>
> Como usuario root:
> update-alternatives --config java
>

Faltó lo mismo pero también con:

update-alternatives --config javac

> Más sobre el tema en la documentación: man o --help
>
> Saludos.
> --
> Manolo Díaz
>
>

Responder a