Ir al contenido principal

Entradas

Mostrando las entradas etiquetadas como linux

Configurar JAVA_HOME, MAVEN_HOME, M2_HOME, CATALINA_HOME EN UBUNTU.

Configurar JAVA_HOME, MAVEN_HOME, M2_HOME, CATALINA_HOME EN UBUNTU. Este post lo escribo porque necesitaba  configurar mi JAVA_HOME , para poder trabajar con  Apache Maven . y editando mi  .profile  lo solucioné. Y si alguien quiere hacerlo, pues así puede. Dentro de nuestro home, existe un archivo oculto llamado .profile y editandolo podemos crear  variables de entorno para nuestro usuario logueado en el sistema. Aquí tienes un  .profile completo, de Ubuntu 12.10 # ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login # exists. # see /usr/share/doc/bash/examples/startup-files for examples. # the files are located in the bash-doc package. # the default umask is set in /etc/profile; for setting the umask # for ssh logins, install and configure the libpam-umask package. #umask 022 # if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exi...