News from October, 2013

  2013/10/02
My Personal Blog on Blogger
Last changed: Oct 02, 2013 11:45 by Bartolomeo Sorrentino
Reasons
From Apr 15, 2013 i've moved my personal blog at blogger , in order to inherit all services provided by google.
Idea is to keep in confluence, complex and ongoing articles (e.g GIT EXPERIENCE), while in blogger just one-shot ones
Posted at 02 Oct @ 11:23 AM by Bartolomeo Sorrentino | 0 Comments
  2013/10/06
How To Set $JAVA_HOME Environment Variable On Mac OS X
Last changed: Oct 06, 2013 22:23 by Bartolomeo Sorrentino
Labels: java, macosx

In this article we show you how to set $JAVA_HOME environment variable on Mac OSX 10.5 or later.

Set the $JAVA_HOME variable to /usr/libexec/java_home, just export $JAVA_HOME in file ~/. bash_profile or ~/.profile as shown below

 
$ vim .bash_profile 
 
export JAVA_HOME=$(/usr/libexec/java_home)
 
$ source .bash_profile
 
$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home

Orginal Article from Mkyong.com

Posted at 06 Oct @ 9:51 PM by Bartolomeo Sorrentino | 0 Comments