How to migrate from JRE 1.6 to JDK 1.6? My Mac Mountain Lion came with JRE 1.6.  However, I would like to have the full JDK.  I read somewhere that for that on Mac it is better to consult Apple rather than Oracle for downloads/install packages but Apple doesn't seem to offer much support for Java 6 (which I need to work on, can't upgrade to 7).  Better yet, if such an upgrade is available through homebrew.
Java JRE and JDKS 1.6 and lower are supplied from Apple and 1.7 or 8 are from Oracle.

The latest Apple one is here I think.
This installs the JDK and the JRE.

the JDK is under /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/ but /usr/bin contains java, javac etc so will be on the path