I am getting some errors with my Java Compiler. I am not getting errors outside of Eclipse, but it only seems to happen in Eclipse Indigo. This is not necessary, but if you
Go to Java->Installed JREs. Add your JDK as a runtime. You may choose to select this JDK to use for all your FUTURE projects. However your selection will not take effect on existing projects. Hence onto step 2.
Select your project's properties. Select Java Build Path.
Under the Libraries tab, select JRE System Library [jreblahblahblah] and Edit it.
Select Alternate JRE and use the dropdown to find the JDK that you just added.