Apr
21
2017
May
23
2014
JAVA_HOME on OS X
I just stumbled upon setting the JAVA_HOME on a remote OS X Server. I tried following the output of whereis. But this was not leading me to the right track folders.
To make things short, just add this to your .profile/shell:
export JAVA_HOME=$(/usr/libexec/java_home)
Apr
15
2014
Copy text from terminal without formating (OSX)
run inside a terminal:
defaults write com.apple.Terminal CopyAttributesProfile com.apple.Terminal.no-attributes