Possible Duplicate:
How to install Java?
It gives me a error message saying that I need to have permission. My account is unlocked so I assumed that would fix it but that did nothing. Perhaps there is a way to do this via the terminal where I could enter my password for things like this. I need the JDK to run minecraft so, yah, for someone like me this is pretty important.