[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cambiar gcj por jdk de sun



El Mon, 17 Sep 2007 10:43:18 -0500
"Jesus Armando Paul Cespedes" <armando.paul@gmail.com> 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
> 
> phenomenon@dragonfly:~$ 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.
> phenomenon@dragonfly:~$
> 
> 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

Más sobre el tema en la documentación: man o --help

Saludos.
-- 
Manolo Díaz



Reply to: