Mac OS X Snow Leopard (10.6) comes with JDK6 but I needed JDK5 for some project. I thought it would be easy to find and install JDK5 on 10.6 but it wasn’t and I ended up spending much more time than I expected to search for JDK5. Here’s what you need to do:
1. Download JDK5 for Snow and Snow Leopard from here.
2. Unzip and copy to /System/Library/Frameworks/JavaVM.framework/Versions
3. Use “Java Preferences” app and move JDK5 to the top of the list.
I find it very useful to see different colors for different kinds of files and folders when using the ls command in terminal. By default, there are no colors in Mac terminal:
Fortunately, this can be changed easily. You need to add the following lines to your .profile file:
First line basically enables colors in the terminal, the second line determines what colors to use for what type of files/folders. There’s a nice little site that generates the LSCOLORS for you. After these changes, you have different colors for folders, executable files etc.