I have been playing around with JDK 1.5 on my Mac. I installed JDK 1.5 and did a few tests to make sure it was running. I tried to run Intellij and got the nice little error message saying only 1.4 is supported on Mac. So I switched my current java version back to 1.4. I launched Intellij again and got the same error message. For some reason Intellij thinks I am still running JDK 1.5. From my terminal window, when I type java -version it is coming up with JDK 1.4 so I am really confused. I have logged out as well as rebooted, but that has not helped.
Does anyone know how to fix this?