Category Archives: OS/X

JDK setting on Mac OS X Maverick causing you pain?

I found a very useful link http://www.jayway.com/2014/01/15/how-to-switch-jdk-version-on-mac-os-x-maverick/ I added the following to my .profile and typed setjdk 1.7 at the command prompt. Problem solved. Advertisements

Posted in Bash, OS/X | Tagged , , , | Leave a comment

Where is the host file on Mac OS/X 10.9

/private/etc/hosts

Posted in Mac, OS/X | Tagged , , , , , | 2 Comments

Tired of typing the Fully Qualified Domain Name (FQDN)?

When my OS was upgraded, I had to start typing the FQDN for all of the servers I used for work. I knew it had something to do with /etc/hosts on other Linux machines. The file that needs to be … Continue reading

Posted in Mac, OS/X | Tagged , , , | Leave a comment

Mac Pipe to rm

Something like this normally works on Linux: Not on Mac. You have to remember to add xargs Without the xargs, it is like calling rm without a target.

Posted in Mac, OS/X | Tagged , , | Leave a comment