When I run my junit I get the two standard eclipse junit bug errors
1) UnsupportedClassVersionError: Bad version number in .class file
2) Class not found com.myapp.MyClass when juint testing myclass.
My JAVA_HOME is pointing at 1.6 eclipse/window/preferences/java/compliler is pointing at 1.6
But when I run my junit its looking at jre1.5.09 how do I configure junit tests in eclipse to make sure they all look run the same complier
Joined: Jun 29, 2002
Fixed when setting your JDK1.6 in eclipse eindows preferences java/complier select at the bottom of the preferences if you are not using the right jre it will prompt you, make sure its using the same version as your JDK in my case 1.6