Wrong version of javac/java

Hi,

I'm trying to write a simple HelloWorld mbean in eclipse for my new project at work. Originally I was setup on a version of the project that uses the 1.6 jdk to compile and run. I have to switch it back to 1.4 inorder to build my mbean on an older release, but I get the error below

I know what the error means, I just don't know how to fix it in eclipse. I tried setting my PATH env variable on windows to point to jdk 1.4.2, but no luck. Any suggestions?