Alejandro Santos escribió:
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
ojo tambien falta
update-alternatives --config jar
y de paso si no funciona logeate como root modifica el script
/usr/bin/eclipse colocando al inicio la declaracion de el JAVA_HOME
Suerte
--
------------------------------------------------------------------------
Por favor, NO utilice formatos de archivo propietarios para el
intercambio
de documentos, como DOC y XLS, sino HTML, PDF, TXT, CSV o cualquier
otro
que no obligue a utilizar un programa de un fabricante concreto.
Internet Explorer y Outlook son muy peligrosos por sus continuos
problemas
de seguridad. Utilice alternativas libres: http://www.mozillaes.org/
------------------------------------------------------------------------
usuario linux registrado #387231
http://counter.li.org
------------------------------------------------------------------------
Por favor evite enviar adjuntos de powerpoint y word
vea http://www.gnu.org/philosophy/no-word-attachments.es.html
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]