:::: MENU ::::
Browsing posts in: Mac OS X

Cómo cerrar aplicaciones colgadas en Mac

Desde la barra superior de Mac OS X, icono de Apple, encontrarás la opción Forzar salida… También puedes activarla con la combinación de teclas Alt (opción) + Comando + Esc.

En la ventana que aparece a continuación puedes elegir la aplicación a cerrar. Normalmente la que se ha quedado colgada aparece resaltada.

En caso de colgarse Finder, la combinación de teclas a usar es Alt (opción) + Comando + Esc + Mayúsculas (Shift).

How to test JAVA_HOME is correctly installed on MAC

In order to test that JAVA_HOME is properly installed on your MAC System you need to ensure that you are working on the  right file.

  1. Go to /Users/josesaid (josesaid is my user)
  2. Edit the .profile file (vi .profile)
  3. Add this text: export JAVA_HOME=/usr/bin/java 
  4. Test it:  echo $JAVA_HOME
  5. You will see your current installation Java Path.


Many Java applications need to know the location of a $JAVA_HOME directory. The $JAVA_HOME on Mac OS X should be found using the /usr/libexec/java_home command line tool on Mac OS X 10.5 or later.  On older Mac OS X versions where the tool does not exist, use the fixed path “/Library/Java/Home“. The /usr/libexec/java_home tool dynamically finds the top Java version specified in Java Preferences for the current user. This path allows access to the bin subdirectory where command line tools such as javajavac, etc. exist as on other platforms. The tool /usr/libexec/java_home allows you to specify a particular CPU architecture and Java platform version when locating a $JAVA_HOME.